| Modifier and Type | Method and Description
|
|---|
| public static void | glBufferStorage(int the buffer object target. One of: target, long the size of the data store in basic machine units size, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Creates the data store of a buffer object.
|
| public static void | glBufferStorage(int the buffer object target. One of: target, ByteBuffer the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the
buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units. data, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Creates the data store of a buffer object.
|
| public static void | glBufferStorage(int the buffer object target. One of: target, ShortBuffer the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the
buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units. data, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Creates the data store of a buffer object.
|
| public static void | glBufferStorage(int the buffer object target. One of: target, IntBuffer the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the
buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units. data, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Creates the data store of a buffer object.
|
| public static void | glBufferStorage(int the buffer object target. One of: target, FloatBuffer the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the
buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units. data, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Creates the data store of a buffer object.
|
| public static void | glBufferStorage(int the buffer object target. One of: target, DoubleBuffer the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the
buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units. data, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Creates the data store of a buffer object.
|
| public static void |
|
| public static void |
|
| public static void |
|
| public static void |
|
| public static void | glNamedBufferStorageEXT(int the buffer object buffer, long the size of the data store in basic machine units size, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Behaves similarly to BufferStorage, except that the buffer whose storage is to be defined is specified by buffer rather than by the current
binding to target.
|
| public static void | glNamedBufferStorageEXT(int the buffer object buffer, ByteBuffer the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the
buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units. data, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Behaves similarly to BufferStorage, except that the buffer whose storage is to be defined is specified by buffer rather than by the current
binding to target.
|
| public static void | glNamedBufferStorageEXT(int the buffer object buffer, ShortBuffer the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the
buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units. data, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Behaves similarly to BufferStorage, except that the buffer whose storage is to be defined is specified by buffer rather than by the current
binding to target.
|
| public static void | glNamedBufferStorageEXT(int the buffer object buffer, IntBuffer the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the
buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units. data, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Behaves similarly to BufferStorage, except that the buffer whose storage is to be defined is specified by buffer rather than by the current
binding to target.
|
| public static void | glNamedBufferStorageEXT(int the buffer object buffer, FloatBuffer the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the
buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units. data, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Behaves similarly to BufferStorage, except that the buffer whose storage is to be defined is specified by buffer rather than by the current
binding to target.
|
| public static void | glNamedBufferStorageEXT(int the buffer object buffer, DoubleBuffer the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the
buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units. data, int the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings
are as follows:
DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to
BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data
argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT.
Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and
ClearBufferSubData.
MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space
obtained that may be read from.
MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address
space obtained that may be written to.
MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's
pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be
coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be
immediately visible to the other with no further action taken by the application. In particular:
CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an
implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.
If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.
It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT. flags)Behaves similarly to BufferStorage, except that the buffer whose storage is to be defined is specified by buffer rather than by the current
binding to target.
|
| public static void |
|
| public static void |
|
| public static void |
|
| public static void |
|
| public static void |
|
| public static native void |
|