| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | GL_CURRENT_QUERY
Accepted by the <pname> parameter of GetQueryiv: |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | GL_QUERY_COUNTER_BITS
Accepted by the <pname> parameter of GetQueryiv: |
| public static final int | GL_QUERY_RESULT
Accepted by the <pname> parameter of GetQueryObjectiv and GetQueryObjectuiv: |
| public static final int | GL_QUERY_RESULT_AVAILABLE
Accepted by the <pname> parameter of GetQueryObjectiv and GetQueryObjectuiv: |
| public static final int | |
| public static final int | |
| public static final int | GL_SAMPLES_PASSED
Accepted by the <target> parameter of BeginQuery, EndQuery, and GetQueryiv: |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | glGetBufferParameter(int target, int pname)
Deprecated
Will be removed in 3.0. Use
Overloads glGetBufferParameteriv.
glGetBufferParameteri instead.
|
| public static int | |
| public static ByteBuffer | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static int | glGetQuery(int target, int pname)
Deprecated
Will be removed in 3.0. Use
Overloads glGetQueryiv.
glGetQueryi instead.
|
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static boolean | |
| public static boolean | |
| public static ByteBuffer | Returns: A ByteBuffer representing the mapped buffer memory.A ByteBuffer. If this argument points to the same address and has the same capacity as the new mapping, it will be returned and no new buffer will be created.
old_buffer)glMapBuffer maps a GL buffer object to a ByteBuffer. |
| public static ByteBuffer | Returns: A ByteBuffer representing the mapped buffer memory.A ByteBuffer. If this argument points to the same address and has the same capacity as the new mapping, it will be returned and no new buffer will be created.
old_buffer)glMapBuffer maps a GL buffer object to a ByteBuffer. |
| public static boolean | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native ByteBuffer | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native boolean | |
| pack-priv static native boolean | |
| pack-priv static native ByteBuffer | nglMapBuffer(int target, int access, long result_size, ByteBuffer old_buffer, long function_pointer)
|
| pack-priv static native boolean |
| GL_ARRAY_BUFFER | back to summary |
|---|---|
| public static final int GL_ARRAY_BUFFER | |
| GL_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_ARRAY_BUFFER_BINDING | |
| GL_BUFFER_ACCESS | back to summary |
|---|---|
| public static final int GL_BUFFER_ACCESS | |
| GL_BUFFER_MAP_POINTER | back to summary |
|---|---|
| public static final int GL_BUFFER_MAP_POINTER | |
| GL_BUFFER_MAPPED | back to summary |
|---|---|
| public static final int GL_BUFFER_MAPPED | |
| GL_BUFFER_SIZE | back to summary |
|---|---|
| public static final int GL_BUFFER_SIZE | |
| GL_BUFFER_USAGE | back to summary |
|---|---|
| public static final int GL_BUFFER_USAGE | |
| GL_COLOR_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_COLOR_ARRAY_BUFFER_BINDING | |
| GL_CURRENT_FOG_COORD | back to summary |
|---|---|
| public static final int GL_CURRENT_FOG_COORD | |
| GL_CURRENT_QUERY | back to summary |
|---|---|
| public static final int GL_CURRENT_QUERY Accepted by the <pname> parameter of GetQueryiv: | |
| GL_DYNAMIC_COPY | back to summary |
|---|---|
| public static final int GL_DYNAMIC_COPY | |
| GL_DYNAMIC_DRAW | back to summary |
|---|---|
| public static final int GL_DYNAMIC_DRAW | |
| GL_DYNAMIC_READ | back to summary |
|---|---|
| public static final int GL_DYNAMIC_READ | |
| GL_EDGE_FLAG_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_EDGE_FLAG_ARRAY_BUFFER_BINDING | |
| GL_ELEMENT_ARRAY_BUFFER | back to summary |
|---|---|
| public static final int GL_ELEMENT_ARRAY_BUFFER | |
| GL_ELEMENT_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING | |
| GL_FOG_COORD | back to summary |
|---|---|
| public static final int GL_FOG_COORD | |
| GL_FOG_COORD_ARRAY | back to summary |
|---|---|
| public static final int GL_FOG_COORD_ARRAY | |
| GL_FOG_COORD_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_FOG_COORD_ARRAY_BUFFER_BINDING | |
| GL_FOG_COORD_ARRAY_POINTER | back to summary |
|---|---|
| public static final int GL_FOG_COORD_ARRAY_POINTER | |
| GL_FOG_COORD_ARRAY_STRIDE | back to summary |
|---|---|
| public static final int GL_FOG_COORD_ARRAY_STRIDE | |
| GL_FOG_COORD_ARRAY_TYPE | back to summary |
|---|---|
| public static final int GL_FOG_COORD_ARRAY_TYPE | |
| GL_FOG_COORD_SRC | back to summary |
|---|---|
| public static final int GL_FOG_COORD_SRC | |
| GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING | |
| GL_INDEX_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_INDEX_ARRAY_BUFFER_BINDING | |
| GL_NORMAL_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_NORMAL_ARRAY_BUFFER_BINDING | |
| GL_QUERY_COUNTER_BITS | back to summary |
|---|---|
| public static final int GL_QUERY_COUNTER_BITS Accepted by the <pname> parameter of GetQueryiv: | |
| GL_QUERY_RESULT | back to summary |
|---|---|
| public static final int GL_QUERY_RESULT Accepted by the <pname> parameter of GetQueryObjectiv and GetQueryObjectuiv: | |
| GL_QUERY_RESULT_AVAILABLE | back to summary |
|---|---|
| public static final int GL_QUERY_RESULT_AVAILABLE Accepted by the <pname> parameter of GetQueryObjectiv and GetQueryObjectuiv: | |
| GL_READ_ONLY | back to summary |
|---|---|
| public static final int GL_READ_ONLY | |
| GL_READ_WRITE | back to summary |
|---|---|
| public static final int GL_READ_WRITE | |
| GL_SAMPLES_PASSED | back to summary |
|---|---|
| public static final int GL_SAMPLES_PASSED Accepted by the <target> parameter of BeginQuery, EndQuery, and GetQueryiv: | |
| GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING | |
| GL_SRC0_ALPHA | back to summary |
|---|---|
| public static final int GL_SRC0_ALPHA | |
| GL_SRC0_RGB | back to summary |
|---|---|
| public static final int GL_SRC0_RGB | |
| GL_SRC1_ALPHA | back to summary |
|---|---|
| public static final int GL_SRC1_ALPHA | |
| GL_SRC1_RGB | back to summary |
|---|---|
| public static final int GL_SRC1_RGB | |
| GL_SRC2_ALPHA | back to summary |
|---|---|
| public static final int GL_SRC2_ALPHA | |
| GL_SRC2_RGB | back to summary |
|---|---|
| public static final int GL_SRC2_RGB | |
| GL_STATIC_COPY | back to summary |
|---|---|
| public static final int GL_STATIC_COPY | |
| GL_STATIC_DRAW | back to summary |
|---|---|
| public static final int GL_STATIC_DRAW | |
| GL_STATIC_READ | back to summary |
|---|---|
| public static final int GL_STATIC_READ | |
| GL_STREAM_COPY | back to summary |
|---|---|
| public static final int GL_STREAM_COPY | |
| GL_STREAM_DRAW | back to summary |
|---|---|
| public static final int GL_STREAM_DRAW | |
| GL_STREAM_READ | back to summary |
|---|---|
| public static final int GL_STREAM_READ | |
| GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING | |
| GL_VERTEX_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_VERTEX_ARRAY_BUFFER_BINDING | |
| GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING | |
| GL_WEIGHT_ARRAY_BUFFER_BINDING | back to summary |
|---|---|
| public static final int GL_WEIGHT_ARRAY_BUFFER_BINDING | |
| GL_WRITE_ONLY | back to summary |
|---|---|
| public static final int GL_WRITE_ONLY | |
| GL15 | back to summary |
|---|---|
| private GL15() | |
| glBeginQuery | back to summary |
|---|---|
| public static void glBeginQuery(int target, int id) | |
| glBindBuffer | back to summary |
|---|---|
| public static void glBindBuffer(int target, int buffer) | |
| glBufferData | back to summary |
|---|---|
| public static void glBufferData(int target, long data_size, int usage) | |
| glBufferData | back to summary |
|---|---|
| public static void glBufferData(int target, ByteBuffer data, int usage) | |
| glBufferData | back to summary |
|---|---|
| public static void glBufferData(int target, DoubleBuffer data, int usage) | |
| glBufferData | back to summary |
|---|---|
| public static void glBufferData(int target, FloatBuffer data, int usage) | |
| glBufferData | back to summary |
|---|---|
| public static void glBufferData(int target, IntBuffer data, int usage) | |
| glBufferData | back to summary |
|---|---|
| public static void glBufferData(int target, ShortBuffer data, int usage) | |
| glBufferSubData | back to summary |
|---|---|
| public static void glBufferSubData(int target, long offset, ByteBuffer data) | |
| glBufferSubData | back to summary |
|---|---|
| public static void glBufferSubData(int target, long offset, DoubleBuffer data) | |
| glBufferSubData | back to summary |
|---|---|
| public static void glBufferSubData(int target, long offset, FloatBuffer data) | |
| glBufferSubData | back to summary |
|---|---|
| public static void glBufferSubData(int target, long offset, IntBuffer data) | |
| glBufferSubData | back to summary |
|---|---|
| public static void glBufferSubData(int target, long offset, ShortBuffer data) | |
| glDeleteBuffers | back to summary |
|---|---|
| public static void glDeleteBuffers(IntBuffer buffers) | |
| glDeleteBuffers | back to summary |
|---|---|
| public static void glDeleteBuffers(int buffer) Overloads glDeleteBuffers. | |
| glDeleteQueries | back to summary |
|---|---|
| public static void glDeleteQueries(IntBuffer ids) | |
| glDeleteQueries | back to summary |
|---|---|
| public static void glDeleteQueries(int id) Overloads glDeleteQueries. | |
| glEndQuery | back to summary |
|---|---|
| public static void glEndQuery(int target) | |
| glGenBuffers | back to summary |
|---|---|
| public static void glGenBuffers(IntBuffer buffers) | |
| glGenBuffers | back to summary |
|---|---|
| public static int glGenBuffers() Overloads glGenBuffers. | |
| glGenQueries | back to summary |
|---|---|
| public static void glGenQueries(IntBuffer ids) | |
| glGenQueries | back to summary |
|---|---|
| public static int glGenQueries() Overloads glGenQueries. | |
| glGetBufferParameter | back to summary |
|---|---|
| public static void glGetBufferParameter(int target, int pname, IntBuffer params) | |
| glGetBufferParameter | back to summary |
|---|---|
| public static int glGetBufferParameter(int target, int pname)
Deprecated Will be removed in 3.0. Use Overloads glGetBufferParameteriv.
| |
| glGetBufferParameteri | back to summary |
|---|---|
| public static int glGetBufferParameteri(int target, int pname) Overloads glGetBufferParameteriv. | |
| glGetBufferPointer | back to summary |
|---|---|
| public static ByteBuffer glGetBufferPointer(int target, int pname) | |
| glGetBufferSubData | back to summary |
|---|---|
| public static void glGetBufferSubData(int target, long offset, ByteBuffer data) | |
| glGetBufferSubData | back to summary |
|---|---|
| public static void glGetBufferSubData(int target, long offset, DoubleBuffer data) | |
| glGetBufferSubData | back to summary |
|---|---|
| public static void glGetBufferSubData(int target, long offset, FloatBuffer data) | |
| glGetBufferSubData | back to summary |
|---|---|
| public static void glGetBufferSubData(int target, long offset, IntBuffer data) | |
| glGetBufferSubData | back to summary |
|---|---|
| public static void glGetBufferSubData(int target, long offset, ShortBuffer data) | |
| glGetQuery | back to summary |
|---|---|
| public static void glGetQuery(int target, int pname, IntBuffer params) | |
| glGetQuery | back to summary |
|---|---|
| public static int glGetQuery(int target, int pname)
Deprecated Will be removed in 3.0. Use Overloads glGetQueryiv.
| |
| glGetQueryi | back to summary |
|---|---|
| public static int glGetQueryi(int target, int pname) Overloads glGetQueryiv. | |
| glGetQueryObject | back to summary |
|---|---|
| public static void glGetQueryObject(int id, int pname, IntBuffer params) | |
| glGetQueryObjecti | back to summary |
|---|---|
| public static int glGetQueryObjecti(int id, int pname) Overloads glGetQueryObjectiv. | |
| glGetQueryObjectu | back to summary |
|---|---|
| public static void glGetQueryObjectu(int id, int pname, IntBuffer params) | |
| glGetQueryObjectui | back to summary |
|---|---|
| public static int glGetQueryObjectui(int id, int pname) Overloads glGetQueryObjectuiv. | |
| glIsBuffer | back to summary |
|---|---|
| public static boolean glIsBuffer(int buffer) | |
| glIsQuery | back to summary |
|---|---|
| public static boolean glIsQuery(int id) | |
| glMapBuffer | back to summary |
|---|---|
| public static ByteBuffer glMapBuffer(int target, int access, ByteBuffer old_buffer) glMapBuffer maps a GL buffer object to a ByteBuffer. The old_buffer argument can be null, in which case a new ByteBuffer will be created, pointing to the returned memory. If old_buffer is non-null, it will be returned if it points to the same mapped memory and has the same capacity as the buffer object, otherwise a new ByteBuffer is created. That way, an application will normally use glMapBuffer like this: ByteBuffer mapped_buffer; mapped_buffer = glMapBuffer(..., ..., null); ... // Another map on the same buffer mapped_buffer = glMapBuffer(..., ..., mapped_buffer); Only ByteBuffers returned from this method are to be passed as the old_buffer argument. User-created ByteBuffers cannot be reused. The version of this method without an explicit length argument calls glGetBufferParameter internally to retrieve the current buffer object size, which may cause a pipeline flush and reduce application performance.
The version of this method with an explicit length argument is a fast alternative to the one without. No GL call
is made to retrieve the buffer object size, so the user is responsible for tracking and using the appropriate length.
| |
| glMapBuffer | back to summary |
|---|---|
| public static ByteBuffer glMapBuffer(int target, int access, long length, ByteBuffer old_buffer) glMapBuffer maps a GL buffer object to a ByteBuffer. The old_buffer argument can be null, in which case a new ByteBuffer will be created, pointing to the returned memory. If old_buffer is non-null, it will be returned if it points to the same mapped memory and has the same capacity as the buffer object, otherwise a new ByteBuffer is created. That way, an application will normally use glMapBuffer like this: ByteBuffer mapped_buffer; mapped_buffer = glMapBuffer(..., ..., null); ... // Another map on the same buffer mapped_buffer = glMapBuffer(..., ..., mapped_buffer); Only ByteBuffers returned from this method are to be passed as the old_buffer argument. User-created ByteBuffers cannot be reused. The version of this method without an explicit length argument calls glGetBufferParameter internally to retrieve the current buffer object size, which may cause a pipeline flush and reduce application performance.
The version of this method with an explicit length argument is a fast alternative to the one without. No GL call
is made to retrieve the buffer object size, so the user is responsible for tracking and using the appropriate length.
| |
| glUnmapBuffer | back to summary |
|---|---|
| public static boolean glUnmapBuffer(int target) | |
| nglBeginQuery | back to summary |
|---|---|
| pack-priv static native void nglBeginQuery(int target, int id, long function_pointer) | |
| nglBindBuffer | back to summary |
|---|---|
| pack-priv static native void nglBindBuffer(int target, int buffer, long function_pointer) | |
| nglBufferData | back to summary |
|---|---|
| pack-priv static native void nglBufferData(int target, long data_size, long data, int usage, long function_pointer) | |
| nglBufferSubData | back to summary |
|---|---|
| pack-priv static native void nglBufferSubData(int target, long offset, long data_size, long data, long function_pointer) | |
| nglDeleteBuffers | back to summary |
|---|---|
| pack-priv static native void nglDeleteBuffers(int buffers_n, long buffers, long function_pointer) | |
| nglDeleteQueries | back to summary |
|---|---|
| pack-priv static native void nglDeleteQueries(int ids_n, long ids, long function_pointer) | |
| nglEndQuery | back to summary |
|---|---|
| pack-priv static native void nglEndQuery(int target, long function_pointer) | |
| nglGenBuffers | back to summary |
|---|---|
| pack-priv static native void nglGenBuffers(int buffers_n, long buffers, long function_pointer) | |
| nglGenQueries | back to summary |
|---|---|
| pack-priv static native void nglGenQueries(int ids_n, long ids, long function_pointer) | |
| nglGetBufferParameteriv | back to summary |
|---|---|
| pack-priv static native void nglGetBufferParameteriv(int target, int pname, long params, long function_pointer) | |
| nglGetBufferPointerv | back to summary |
|---|---|
| pack-priv static native ByteBuffer nglGetBufferPointerv(int target, int pname, long result_size, long function_pointer) | |
| nglGetBufferSubData | back to summary |
|---|---|
| pack-priv static native void nglGetBufferSubData(int target, long offset, long data_size, long data, long function_pointer) | |
| nglGetQueryiv | back to summary |
|---|---|
| pack-priv static native void nglGetQueryiv(int target, int pname, long params, long function_pointer) | |
| nglGetQueryObjectiv | back to summary |
|---|---|
| pack-priv static native void nglGetQueryObjectiv(int id, int pname, long params, long function_pointer) | |
| nglGetQueryObjectuiv | back to summary |
|---|---|
| pack-priv static native void nglGetQueryObjectuiv(int id, int pname, long params, long function_pointer) | |
| nglIsBuffer | back to summary |
|---|---|
| pack-priv static native boolean nglIsBuffer(int buffer, long function_pointer) | |
| nglIsQuery | back to summary |
|---|---|
| pack-priv static native boolean nglIsQuery(int id, long function_pointer) | |
| nglMapBuffer | back to summary |
|---|---|
| pack-priv static native ByteBuffer nglMapBuffer(int target, int access, long result_size, ByteBuffer old_buffer, long function_pointer) | |
| nglUnmapBuffer | back to summary |
|---|---|
| pack-priv static native boolean nglUnmapBuffer(int target, long function_pointer) | |