Class GL15C
- Direct Known Subclasses:
GL20C
Extensions promoted to core in this release:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.static final int
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final int
Accepted by thepname
parameter of GetBufferParameteriv.static final int
Accepted by thepname
parameter of GetBufferPointerv.static final int
Accepted by thepname
parameter of GetBufferParameteriv.static final int
Accepted by thepname
parameter of GetBufferParameteriv.static final int
Accepted by thepname
parameter of GetBufferParameteriv.static final int
Accepted by thepname
parameter of GetQueryiv.static final int
Accepted by theusage
parameter of BufferData.static final int
Accepted by theusage
parameter of BufferData.static final int
Accepted by theusage
parameter of BufferData.static final int
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.static final int
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final int
Accepted by thepname
parameter of GetQueryiv.static final int
Accepted by thepname
parameter of GetQueryObjectiv and GetQueryObjectuiv.static final int
Accepted by thepname
parameter of GetQueryObjectiv and GetQueryObjectuiv.static final int
Accepted by theaccess
parameter of MapBuffer.static final int
Accepted by theaccess
parameter of MapBuffer.static final int
Accepted by thetarget
parameter of BeginQuery, EndQuery, and GetQueryiv.static final int
New token names.static final int
Accepted by theusage
parameter of BufferData.static final int
Accepted by theusage
parameter of BufferData.static final int
Accepted by theusage
parameter of BufferData.static final int
Accepted by theusage
parameter of BufferData.static final int
Accepted by theusage
parameter of BufferData.static final int
Accepted by theusage
parameter of BufferData.static final int
Accepted by thepname
parameter of GetVertexAttribiv.static final int
Accepted by theaccess
parameter of MapBuffer.Fields inherited from class org.lwjgl.opengl.GL14C
GL_BLEND_DST_ALPHA, GL_BLEND_DST_RGB, GL_BLEND_SRC_ALPHA, GL_BLEND_SRC_RGB, GL_CONSTANT_ALPHA, GL_CONSTANT_COLOR, GL_DECR_WRAP, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_FUNC_ADD, GL_FUNC_REVERSE_SUBTRACT, GL_FUNC_SUBTRACT, GL_INCR_WRAP, GL_MAX, GL_MAX_TEXTURE_LOD_BIAS, GL_MIN, GL_MIRRORED_REPEAT, GL_ONE_MINUS_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_COLOR, GL_POINT_FADE_THRESHOLD_SIZE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_LOD_BIAS
Fields inherited from class org.lwjgl.opengl.GL13C
GL_ACTIVE_TEXTURE, GL_CLAMP_TO_BORDER, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_TEXTURE_FORMATS, GL_MAX_CUBE_MAP_TEXTURE_SIZE, GL_MULTISAMPLE, GL_NUM_COMPRESSED_TEXTURE_FORMATS, GL_PROXY_TEXTURE_CUBE_MAP, GL_SAMPLE_ALPHA_TO_COVERAGE, GL_SAMPLE_ALPHA_TO_ONE, GL_SAMPLE_BUFFERS, GL_SAMPLE_COVERAGE, GL_SAMPLE_COVERAGE_INVERT, GL_SAMPLE_COVERAGE_VALUE, GL_SAMPLES, GL_TEXTURE_BINDING_CUBE_MAP, GL_TEXTURE_COMPRESSED, GL_TEXTURE_COMPRESSED_IMAGE_SIZE, GL_TEXTURE_COMPRESSION_HINT, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE0, GL_TEXTURE1, GL_TEXTURE10, GL_TEXTURE11, GL_TEXTURE12, GL_TEXTURE13, GL_TEXTURE14, GL_TEXTURE15, GL_TEXTURE16, GL_TEXTURE17, GL_TEXTURE18, GL_TEXTURE19, GL_TEXTURE2, GL_TEXTURE20, GL_TEXTURE21, GL_TEXTURE22, GL_TEXTURE23, GL_TEXTURE24, GL_TEXTURE25, GL_TEXTURE26, GL_TEXTURE27, GL_TEXTURE28, GL_TEXTURE29, GL_TEXTURE3, GL_TEXTURE30, GL_TEXTURE31, GL_TEXTURE4, GL_TEXTURE5, GL_TEXTURE6, GL_TEXTURE7, GL_TEXTURE8, GL_TEXTURE9
Fields inherited from class org.lwjgl.opengl.GL12C
GL_ALIASED_LINE_WIDTH_RANGE, GL_BGR, GL_BGRA, GL_CLAMP_TO_EDGE, GL_MAX_3D_TEXTURE_SIZE, GL_MAX_ELEMENTS_INDICES, GL_MAX_ELEMENTS_VERTICES, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_IMAGES, GL_PROXY_TEXTURE_3D, GL_SMOOTH_LINE_WIDTH_GRANULARITY, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_POINT_SIZE_GRANULARITY, GL_SMOOTH_POINT_SIZE_RANGE, GL_TEXTURE_3D, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BINDING_3D, GL_TEXTURE_DEPTH, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_LOD, GL_TEXTURE_WRAP_R, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_IMAGES, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV
Fields inherited from class org.lwjgl.opengl.GL11C
GL_ALPHA, GL_ALWAYS, GL_AND, GL_AND_INVERTED, GL_AND_REVERSE, GL_BACK, GL_BACK_LEFT, GL_BACK_RIGHT, GL_BLEND, GL_BLEND_DST, GL_BLEND_SRC, GL_BLUE, GL_BYTE, GL_CCW, GL_CLEAR, GL_COLOR, GL_COLOR_BUFFER_BIT, GL_COLOR_CLEAR_VALUE, GL_COLOR_LOGIC_OP, GL_COLOR_WRITEMASK, GL_COPY, GL_COPY_INVERTED, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CW, GL_DECR, GL_DEPTH, GL_DEPTH_BUFFER_BIT, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_COMPONENT, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DITHER, GL_DONT_CARE, GL_DOUBLE, GL_DOUBLEBUFFER, GL_DRAW_BUFFER, GL_DST_ALPHA, GL_DST_COLOR, GL_EQUAL, GL_EQUIV, GL_EXTENSIONS, GL_FALSE, GL_FASTEST, GL_FILL, GL_FLOAT, GL_FRONT, GL_FRONT_AND_BACK, GL_FRONT_FACE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_GEQUAL, GL_GREATER, GL_GREEN, GL_INCR, GL_INT, GL_INVALID_ENUM, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEFT, GL_LEQUAL, GL_LESS, GL_LINE, GL_LINE_LOOP, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STRIP, GL_LINE_WIDTH, GL_LINE_WIDTH_GRANULARITY, GL_LINE_WIDTH_RANGE, GL_LINEAR, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LOGIC_OP_MODE, GL_MAX_TEXTURE_SIZE, GL_MAX_VIEWPORT_DIMS, GL_NAND, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NICEST, GL_NO_ERROR, GL_NONE, GL_NOOP, GL_NOR, GL_NOTEQUAL, GL_ONE, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OR, GL_OR_INVERTED, GL_OR_REVERSE, GL_OUT_OF_MEMORY, GL_PACK_ALIGNMENT, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SWAP_BYTES, GL_POINT, GL_POINT_SIZE, GL_POINT_SIZE_GRANULARITY, GL_POINT_SIZE_RANGE, GL_POINTS, GL_POLYGON_MODE, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_OFFSET_UNITS, GL_POLYGON_SMOOTH, GL_POLYGON_SMOOTH_HINT, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_QUADS, GL_R3_G3_B2, GL_READ_BUFFER, GL_RED, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RGB, GL_RGB10, GL_RGB10_A2, GL_RGB12, GL_RGB16, GL_RGB4, GL_RGB5, GL_RGB5_A1, GL_RGB8, GL_RGBA, GL_RGBA12, GL_RGBA16, GL_RGBA2, GL_RGBA4, GL_RGBA8, GL_RIGHT, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SET, GL_SHORT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STACK_OVERFLOW, GL_STACK_UNDERFLOW, GL_STENCIL, GL_STENCIL_BUFFER_BIT, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_INDEX, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STEREO, GL_SUBPIXEL_BITS, GL_TEXTURE, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_BINDING_1D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_HEIGHT, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_WIDTH, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SWAP_BYTES, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_VENDOR, GL_VERSION, GL_VERTEX_ARRAY, GL_VIEWPORT, GL_XOR, GL_ZERO
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
glBeginQuery
(int target, int id) Creates a query object and makes it active.static void
glBindBuffer
(int target, int buffer) Binds a named buffer object.static void
glBufferData
(int target, double[] data, int usage) Array version of:BufferData
static void
glBufferData
(int target, float[] data, int usage) Array version of:BufferData
static void
glBufferData
(int target, int[] data, int usage) Array version of:BufferData
static void
glBufferData
(int target, long[] data, int usage) Array version of:BufferData
static void
glBufferData
(int target, long size, int usage) Creates and initializes a buffer object's data store.static void
glBufferData
(int target, short[] data, int usage) Array version of:BufferData
static void
glBufferData
(int target, ByteBuffer data, int usage) Creates and initializes a buffer object's data store.static void
glBufferData
(int target, DoubleBuffer data, int usage) Creates and initializes a buffer object's data store.static void
glBufferData
(int target, FloatBuffer data, int usage) Creates and initializes a buffer object's data store.static void
glBufferData
(int target, IntBuffer data, int usage) Creates and initializes a buffer object's data store.static void
glBufferData
(int target, LongBuffer data, int usage) Creates and initializes a buffer object's data store.static void
glBufferData
(int target, ShortBuffer data, int usage) Creates and initializes a buffer object's data store.static void
glBufferSubData
(int target, long offset, double[] data) Array version of:BufferSubData
static void
glBufferSubData
(int target, long offset, float[] data) Array version of:BufferSubData
static void
glBufferSubData
(int target, long offset, int[] data) Array version of:BufferSubData
static void
glBufferSubData
(int target, long offset, long[] data) Array version of:BufferSubData
static void
glBufferSubData
(int target, long offset, short[] data) Array version of:BufferSubData
static void
glBufferSubData
(int target, long offset, ByteBuffer data) Updates a subset of a buffer object's data store.static void
glBufferSubData
(int target, long offset, DoubleBuffer data) Updates a subset of a buffer object's data store.static void
glBufferSubData
(int target, long offset, FloatBuffer data) Updates a subset of a buffer object's data store.static void
glBufferSubData
(int target, long offset, IntBuffer data) Updates a subset of a buffer object's data store.static void
glBufferSubData
(int target, long offset, LongBuffer data) Updates a subset of a buffer object's data store.static void
glBufferSubData
(int target, long offset, ShortBuffer data) Updates a subset of a buffer object's data store.static void
glDeleteBuffers
(int buffer) Deletes named buffer objects.static void
glDeleteBuffers
(int[] buffers) Array version of:DeleteBuffers
static void
glDeleteBuffers
(IntBuffer buffers) Deletes named buffer objects.static void
glDeleteQueries
(int id) Deletes named query objects.static void
glDeleteQueries
(int[] ids) Array version of:DeleteQueries
static void
glDeleteQueries
(IntBuffer ids) Deletes named query objects.static void
glEndQuery
(int target) Marks the end of the sequence of commands to be tracked for the active query specified bytarget
.static int
Generates buffer object names.static void
glGenBuffers
(int[] buffers) Array version of:GenBuffers
static void
glGenBuffers
(IntBuffer buffers) Generates buffer object names.static int
Generates query object names.static void
glGenQueries
(int[] ids) Array version of:GenQueries
static void
glGenQueries
(IntBuffer ids) Generates query object names.static int
glGetBufferParameteri
(int target, int pname) Returns the value of a buffer object parameter.static void
glGetBufferParameteriv
(int target, int pname, int[] params) Array version of:GetBufferParameteriv
static void
glGetBufferParameteriv
(int target, int pname, IntBuffer params) Returns the value of a buffer object parameter.static long
glGetBufferPointer
(int target, int pname) Returns the pointer to a mapped buffer object's data store.static void
glGetBufferPointerv
(int target, int pname, PointerBuffer params) Returns the pointer to a mapped buffer object's data store.static void
glGetBufferSubData
(int target, long offset, double[] data) Array version of:GetBufferSubData
static void
glGetBufferSubData
(int target, long offset, float[] data) Array version of:GetBufferSubData
static void
glGetBufferSubData
(int target, long offset, int[] data) Array version of:GetBufferSubData
static void
glGetBufferSubData
(int target, long offset, long[] data) Array version of:GetBufferSubData
static void
glGetBufferSubData
(int target, long offset, short[] data) Array version of:GetBufferSubData
static void
glGetBufferSubData
(int target, long offset, ByteBuffer data) Returns a subset of a buffer object's data store.static void
glGetBufferSubData
(int target, long offset, DoubleBuffer data) Returns a subset of a buffer object's data store.static void
glGetBufferSubData
(int target, long offset, FloatBuffer data) Returns a subset of a buffer object's data store.static void
glGetBufferSubData
(int target, long offset, IntBuffer data) Returns a subset of a buffer object's data store.static void
glGetBufferSubData
(int target, long offset, LongBuffer data) Returns a subset of a buffer object's data store.static void
glGetBufferSubData
(int target, long offset, ShortBuffer data) Returns a subset of a buffer object's data store.static int
glGetQueryi
(int target, int pname) Returns parameters of a query object target.static void
glGetQueryiv
(int target, int pname, int[] params) Array version of:GetQueryiv
static void
glGetQueryiv
(int target, int pname, IntBuffer params) Returns parameters of a query object target.static int
glGetQueryObjecti
(int id, int pname) Returns the integer value of a query object parameter.static void
glGetQueryObjectiv
(int id, int pname, int[] params) Array version of:GetQueryObjectiv
static void
glGetQueryObjectiv
(int id, int pname, long params) Returns the integer value of a query object parameter.static void
glGetQueryObjectiv
(int id, int pname, IntBuffer params) Returns the integer value of a query object parameter.static int
glGetQueryObjectui
(int id, int pname) Unsigned version ofGetQueryObjectiv
.static void
glGetQueryObjectuiv
(int id, int pname, int[] params) Array version of:GetQueryObjectuiv
static void
glGetQueryObjectuiv
(int id, int pname, long params) Unsigned version ofGetQueryObjectiv
.static void
glGetQueryObjectuiv
(int id, int pname, IntBuffer params) Unsigned version ofGetQueryObjectiv
.static boolean
glIsBuffer
(int buffer) Determines if a name corresponds to a buffer object.static boolean
glIsQuery
(int id) Determine if a name corresponds to a query object.static ByteBuffer
glMapBuffer
(int target, int access) Maps a buffer object's data store.static ByteBuffer
glMapBuffer
(int target, int access, long length, ByteBuffer old_buffer) Maps a buffer object's data store.static ByteBuffer
glMapBuffer
(int target, int access, ByteBuffer old_buffer) Maps a buffer object's data store.static boolean
glUnmapBuffer
(int target) Relinquishes the mapping of a buffer object and invalidates the pointer to its data store.static void
nglBufferData
(int target, long size, long data, int usage) Unsafe version of:BufferData
static void
nglBufferSubData
(int target, long offset, long size, long data) Unsafe version of:BufferSubData
static void
nglDeleteBuffers
(int n, long buffers) Unsafe version of:DeleteBuffers
static void
nglDeleteQueries
(int n, long ids) Unsafe version of:DeleteQueries
static void
nglGenBuffers
(int n, long buffers) Unsafe version of:GenBuffers
static void
nglGenQueries
(int n, long ids) Unsafe version of:GenQueries
static void
nglGetBufferParameteriv
(int target, int pname, long params) Unsafe version of:GetBufferParameteriv
static void
nglGetBufferPointerv
(int target, int pname, long params) Unsafe version of:GetBufferPointerv
static void
nglGetBufferSubData
(int target, long offset, long size, long data) Unsafe version of:GetBufferSubData
static void
nglGetQueryiv
(int target, int pname, long params) Unsafe version of:GetQueryiv
static void
nglGetQueryObjectiv
(int id, int pname, long params) Unsafe version of:GetQueryObjectiv
static void
nglGetQueryObjectuiv
(int id, int pname, long params) Unsafe version of:GetQueryObjectuiv
static long
nglMapBuffer
(int target, int access) Unsafe version of:MapBuffer
Methods inherited from class org.lwjgl.opengl.GL14C
glBlendColor, glBlendEquation, glBlendFuncSeparate, glMultiDrawArrays, glMultiDrawArrays, glMultiDrawElements, glMultiDrawElements, glPointParameterf, glPointParameterfv, glPointParameterfv, glPointParameteri, glPointParameteriv, glPointParameteriv, nglMultiDrawArrays, nglMultiDrawElements, nglPointParameterfv, nglPointParameteriv
Methods inherited from class org.lwjgl.opengl.GL13C
glActiveTexture, glCompressedTexImage1D, glCompressedTexImage1D, glCompressedTexImage2D, glCompressedTexImage2D, glCompressedTexImage3D, glCompressedTexImage3D, glCompressedTexSubImage1D, glCompressedTexSubImage1D, glCompressedTexSubImage2D, glCompressedTexSubImage2D, glCompressedTexSubImage3D, glCompressedTexSubImage3D, glGetCompressedTexImage, glGetCompressedTexImage, glSampleCoverage, nglCompressedTexImage1D, nglCompressedTexImage2D, nglCompressedTexImage3D, nglCompressedTexSubImage1D, nglCompressedTexSubImage2D, nglCompressedTexSubImage3D, nglGetCompressedTexImage
Methods inherited from class org.lwjgl.opengl.GL12C
glCopyTexSubImage3D, glDrawRangeElements, glDrawRangeElements, glDrawRangeElements, glDrawRangeElements, glDrawRangeElements, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, nglDrawRangeElements, nglTexImage3D, nglTexSubImage3D
Methods inherited from class org.lwjgl.opengl.GL11C
glBindTexture, glBlendFunc, glClear, glClearColor, glClearDepth, glClearStencil, glColorMask, glCopyTexImage1D, glCopyTexImage2D, glCopyTexSubImage1D, glCopyTexSubImage2D, glCullFace, glDeleteTextures, glDeleteTextures, glDeleteTextures, glDepthFunc, glDepthMask, glDepthRange, glDisable, glDrawArrays, glDrawBuffer, glDrawElements, glDrawElements, glDrawElements, glDrawElements, glDrawElements, glEnable, glFinish, glFlush, glFrontFace, glGenTextures, glGenTextures, glGenTextures, glGetBoolean, glGetBooleanv, glGetDouble, glGetDoublev, glGetDoublev, glGetError, glGetFloat, glGetFloatv, glGetFloatv, glGetInteger, glGetIntegerv, glGetIntegerv, glGetPointer, glGetPointerv, glGetString, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexLevelParameterf, glGetTexLevelParameterfv, glGetTexLevelParameterfv, glGetTexLevelParameteri, glGetTexLevelParameteriv, glGetTexLevelParameteriv, glGetTexParameterf, glGetTexParameterfv, glGetTexParameterfv, glGetTexParameteri, glGetTexParameteriv, glGetTexParameteriv, glHint, glIsEnabled, glIsTexture, glLineWidth, glLogicOp, glPixelStoref, glPixelStorei, glPointSize, glPolygonMode, glPolygonOffset, glReadBuffer, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glScissor, glStencilFunc, glStencilMask, glStencilOp, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexParameterf, glTexParameterfv, glTexParameterfv, glTexParameteri, glTexParameteriv, glTexParameteriv, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glViewport, nglDeleteTextures, nglDrawElements, nglGenTextures, nglGetBooleanv, nglGetDoublev, nglGetFloatv, nglGetIntegerv, nglGetPointerv, nglGetString, nglGetTexImage, nglGetTexLevelParameterfv, nglGetTexLevelParameteriv, nglGetTexParameterfv, nglGetTexParameteriv, nglReadPixels, nglTexImage1D, nglTexImage2D, nglTexParameterfv, nglTexParameteriv, nglTexSubImage1D, nglTexSubImage2D
-
Field Details
-
GL_SRC1_ALPHA
public static final int GL_SRC1_ALPHANew token names.- See Also:
-
GL_ARRAY_BUFFER
public static final int GL_ARRAY_BUFFERAccepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.- See Also:
-
GL_ELEMENT_ARRAY_BUFFER
public static final int GL_ELEMENT_ARRAY_BUFFERAccepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.- See Also:
-
GL_ARRAY_BUFFER_BINDING
public static final int GL_ARRAY_BUFFER_BINDINGAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_ELEMENT_ARRAY_BUFFER_BINDING
public static final int GL_ELEMENT_ARRAY_BUFFER_BINDINGAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGAccepted by thepname
parameter of GetVertexAttribiv.- See Also:
-
GL_STREAM_DRAW
public static final int GL_STREAM_DRAWAccepted by theusage
parameter of BufferData.- See Also:
-
GL_STREAM_READ
public static final int GL_STREAM_READAccepted by theusage
parameter of BufferData.- See Also:
-
GL_STREAM_COPY
public static final int GL_STREAM_COPYAccepted by theusage
parameter of BufferData.- See Also:
-
GL_STATIC_DRAW
public static final int GL_STATIC_DRAWAccepted by theusage
parameter of BufferData.- See Also:
-
GL_STATIC_READ
public static final int GL_STATIC_READAccepted by theusage
parameter of BufferData.- See Also:
-
GL_STATIC_COPY
public static final int GL_STATIC_COPYAccepted by theusage
parameter of BufferData.- See Also:
-
GL_DYNAMIC_DRAW
public static final int GL_DYNAMIC_DRAWAccepted by theusage
parameter of BufferData.- See Also:
-
GL_DYNAMIC_READ
public static final int GL_DYNAMIC_READAccepted by theusage
parameter of BufferData.- See Also:
-
GL_DYNAMIC_COPY
public static final int GL_DYNAMIC_COPYAccepted by theusage
parameter of BufferData.- See Also:
-
GL_READ_ONLY
public static final int GL_READ_ONLYAccepted by theaccess
parameter of MapBuffer.- See Also:
-
GL_WRITE_ONLY
public static final int GL_WRITE_ONLYAccepted by theaccess
parameter of MapBuffer.- See Also:
-
GL_READ_WRITE
public static final int GL_READ_WRITEAccepted by theaccess
parameter of MapBuffer.- See Also:
-
GL_BUFFER_SIZE
public static final int GL_BUFFER_SIZEAccepted by thepname
parameter of GetBufferParameteriv.- See Also:
-
GL_BUFFER_USAGE
public static final int GL_BUFFER_USAGEAccepted by thepname
parameter of GetBufferParameteriv.- See Also:
-
GL_BUFFER_ACCESS
public static final int GL_BUFFER_ACCESSAccepted by thepname
parameter of GetBufferParameteriv.- See Also:
-
GL_BUFFER_MAPPED
public static final int GL_BUFFER_MAPPEDAccepted by thepname
parameter of GetBufferParameteriv.- See Also:
-
GL_BUFFER_MAP_POINTER
public static final int GL_BUFFER_MAP_POINTERAccepted by thepname
parameter of GetBufferPointerv.- See Also:
-
GL_SAMPLES_PASSED
public static final int GL_SAMPLES_PASSEDAccepted by thetarget
parameter of BeginQuery, EndQuery, and GetQueryiv.- See Also:
-
GL_QUERY_COUNTER_BITS
public static final int GL_QUERY_COUNTER_BITSAccepted by thepname
parameter of GetQueryiv.- See Also:
-
GL_CURRENT_QUERY
public static final int GL_CURRENT_QUERYAccepted by thepname
parameter of GetQueryiv.- See Also:
-
GL_QUERY_RESULT
public static final int GL_QUERY_RESULTAccepted by thepname
parameter of GetQueryObjectiv and GetQueryObjectuiv.- See Also:
-
GL_QUERY_RESULT_AVAILABLE
public static final int GL_QUERY_RESULT_AVAILABLEAccepted by thepname
parameter of GetQueryObjectiv and GetQueryObjectuiv.- See Also:
-
-
Method Details
-
glBindBuffer
public static void glBindBuffer(int target, int buffer) Binds a named buffer object.- Parameters:
target
- the target to which the buffer object is bound. One of:buffer
- the name of a buffer object- See Also:
-
nglDeleteBuffers
public static void nglDeleteBuffers(int n, long buffers) Unsafe version of:DeleteBuffers
- Parameters:
n
- the number of buffer objects to be deleted
-
glDeleteBuffers
Deletes named buffer objects.- Parameters:
buffers
- an array of buffer objects to be deleted- See Also:
-
glDeleteBuffers
public static void glDeleteBuffers(int buffer) Deletes named buffer objects.- See Also:
-
nglGenBuffers
public static void nglGenBuffers(int n, long buffers) Unsafe version of:GenBuffers
- Parameters:
n
- the number of buffer object names to be generated
-
glGenBuffers
Generates buffer object names.- Parameters:
buffers
- a buffer in which the generated buffer object names are stored- See Also:
-
glGenBuffers
public static int glGenBuffers()Generates buffer object names.- See Also:
-
glIsBuffer
public static boolean glIsBuffer(int buffer) Determines if a name corresponds to a buffer object.- Parameters:
buffer
- a value that may be the name of a buffer object- See Also:
-
nglBufferData
public static void nglBufferData(int target, long size, long data, int usage) Unsafe version of:BufferData
- Parameters:
size
- the size in bytes of the buffer object's new data store
-
glBufferData
public static void glBufferData(int target, long size, int usage) Creates and initializes a buffer object's data store.usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The frequency of access may be one of these:- STREAM - The data store contents will be modified once and used at most a few times.
- STATIC - The data store contents will be modified once and used many times.
- DYNAMIC - The data store contents will be modified repeatedly and used many times.
The nature of access may be one of these:
- DRAW - The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.
- READ - The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.
- COPY - The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.
- Parameters:
target
- the target buffer object. One of:size
- the size in bytes of the buffer object's new data storeusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
- See Also:
-
glBufferData
Creates and initializes a buffer object's data store.usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The frequency of access may be one of these:- STREAM - The data store contents will be modified once and used at most a few times.
- STATIC - The data store contents will be modified once and used many times.
- DYNAMIC - The data store contents will be modified repeatedly and used many times.
The nature of access may be one of these:
- DRAW - The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.
- READ - The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.
- COPY - The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.
- Parameters:
target
- the target buffer object. One of:data
- a pointer to data that will be copied into the data store for initialization, orNULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
- See Also:
-
glBufferData
Creates and initializes a buffer object's data store.usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The frequency of access may be one of these:- STREAM - The data store contents will be modified once and used at most a few times.
- STATIC - The data store contents will be modified once and used many times.
- DYNAMIC - The data store contents will be modified repeatedly and used many times.
The nature of access may be one of these:
- DRAW - The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.
- READ - The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.
- COPY - The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.
- Parameters:
target
- the target buffer object. One of:data
- a pointer to data that will be copied into the data store for initialization, orNULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
- See Also:
-
glBufferData
Creates and initializes a buffer object's data store.usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The frequency of access may be one of these:- STREAM - The data store contents will be modified once and used at most a few times.
- STATIC - The data store contents will be modified once and used many times.
- DYNAMIC - The data store contents will be modified repeatedly and used many times.
The nature of access may be one of these:
- DRAW - The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.
- READ - The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.
- COPY - The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.
- Parameters:
target
- the target buffer object. One of:data
- a pointer to data that will be copied into the data store for initialization, orNULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
- See Also:
-
glBufferData
Creates and initializes a buffer object's data store.usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The frequency of access may be one of these:- STREAM - The data store contents will be modified once and used at most a few times.
- STATIC - The data store contents will be modified once and used many times.
- DYNAMIC - The data store contents will be modified repeatedly and used many times.
The nature of access may be one of these:
- DRAW - The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.
- READ - The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.
- COPY - The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.
- Parameters:
target
- the target buffer object. One of:data
- a pointer to data that will be copied into the data store for initialization, orNULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
- See Also:
-
glBufferData
Creates and initializes a buffer object's data store.usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The frequency of access may be one of these:- STREAM - The data store contents will be modified once and used at most a few times.
- STATIC - The data store contents will be modified once and used many times.
- DYNAMIC - The data store contents will be modified repeatedly and used many times.
The nature of access may be one of these:
- DRAW - The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.
- READ - The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.
- COPY - The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.
- Parameters:
target
- the target buffer object. One of:data
- a pointer to data that will be copied into the data store for initialization, orNULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
- See Also:
-
glBufferData
Creates and initializes a buffer object's data store.usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The frequency of access may be one of these:- STREAM - The data store contents will be modified once and used at most a few times.
- STATIC - The data store contents will be modified once and used many times.
- DYNAMIC - The data store contents will be modified repeatedly and used many times.
The nature of access may be one of these:
- DRAW - The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.
- READ - The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.
- COPY - The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.
- Parameters:
target
- the target buffer object. One of:data
- a pointer to data that will be copied into the data store for initialization, orNULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
- See Also:
-
nglBufferSubData
public static void nglBufferSubData(int target, long offset, long size, long data) Unsafe version of:BufferSubData
- Parameters:
size
- the size in bytes of the data store region being replaced
-
glBufferSubData
Updates a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data store- See Also:
-
glBufferSubData
Updates a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data store- See Also:
-
glBufferSubData
Updates a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data store- See Also:
-
glBufferSubData
Updates a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data store- See Also:
-
glBufferSubData
Updates a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data store- See Also:
-
glBufferSubData
Updates a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data store- See Also:
-
nglGetBufferSubData
public static void nglGetBufferSubData(int target, long offset, long size, long data) Unsafe version of:GetBufferSubData
- Parameters:
size
- the size in bytes of the data store region being returned
-
glGetBufferSubData
Returns a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store from which data will be returned, measured in bytesdata
- a pointer to the location where buffer object data is returned- See Also:
-
glGetBufferSubData
Returns a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store from which data will be returned, measured in bytesdata
- a pointer to the location where buffer object data is returned- See Also:
-
glGetBufferSubData
Returns a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store from which data will be returned, measured in bytesdata
- a pointer to the location where buffer object data is returned- See Also:
-
glGetBufferSubData
Returns a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store from which data will be returned, measured in bytesdata
- a pointer to the location where buffer object data is returned- See Also:
-
glGetBufferSubData
Returns a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store from which data will be returned, measured in bytesdata
- a pointer to the location where buffer object data is returned- See Also:
-
glGetBufferSubData
Returns a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store from which data will be returned, measured in bytesdata
- a pointer to the location where buffer object data is returned- See Also:
-
nglMapBuffer
public static long nglMapBuffer(int target, int access) Unsafe version of:MapBuffer
-
glMapBuffer
Maps a buffer object's data store.LWJGL note: This method comes in 3 flavors:
glMapBuffer(int, int)
- CallsGetBufferParameteriv
to retrieve the buffer size and a new ByteBuffer instance is always returned.glMapBuffer(int, int, ByteBuffer)
- CallsGetBufferParameteriv
to retrieve the buffer size and theold_buffer
parameter is reused if not null.glMapBuffer(int, int, long, ByteBuffer)
- The buffer size is explicitly specified and theold_buffer
parameter is reused if not null. This is the most efficient method.
- Parameters:
target
- the target buffer object being mapped. One of:access
- the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. One of:READ_ONLY
WRITE_ONLY
READ_WRITE
- See Also:
-
glMapBuffer
@Nullable public static ByteBuffer glMapBuffer(int target, int access, @Nullable ByteBuffer old_buffer) Maps a buffer object's data store.LWJGL note: This method comes in 3 flavors:
glMapBuffer(int, int)
- CallsGetBufferParameteriv
to retrieve the buffer size and a new ByteBuffer instance is always returned.glMapBuffer(int, int, ByteBuffer)
- CallsGetBufferParameteriv
to retrieve the buffer size and theold_buffer
parameter is reused if not null.glMapBuffer(int, int, long, ByteBuffer)
- The buffer size is explicitly specified and theold_buffer
parameter is reused if not null. This is the most efficient method.
- Parameters:
target
- the target buffer object being mapped. One of:access
- the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. One of:READ_ONLY
WRITE_ONLY
READ_WRITE
- See Also:
-
glMapBuffer
@Nullable public static ByteBuffer glMapBuffer(int target, int access, long length, @Nullable ByteBuffer old_buffer) Maps a buffer object's data store.LWJGL note: This method comes in 3 flavors:
glMapBuffer(int, int)
- CallsGetBufferParameteriv
to retrieve the buffer size and a new ByteBuffer instance is always returned.glMapBuffer(int, int, ByteBuffer)
- CallsGetBufferParameteriv
to retrieve the buffer size and theold_buffer
parameter is reused if not null.glMapBuffer(int, int, long, ByteBuffer)
- The buffer size is explicitly specified and theold_buffer
parameter is reused if not null. This is the most efficient method.
- Parameters:
target
- the target buffer object being mapped. One of:access
- the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. One of:READ_ONLY
WRITE_ONLY
READ_WRITE
- See Also:
-
glUnmapBuffer
public static boolean glUnmapBuffer(int target) Relinquishes the mapping of a buffer object and invalidates the pointer to its data store.Returns TRUE unless data values in the buffer’s data store have become corrupted during the period that the buffer was mapped. Such corruption can be the result of a screen resolution change or other window system-dependent event that causes system heaps such as those for high-performance graphics memory to be discarded. GL implementations must guarantee that such corruption can occur only during the periods that a buffer’s data store is mapped. If such corruption has occurred, UnmapBuffer returns FALSE, and the contents of the buffer’s data store become undefined.
- Parameters:
target
- the target buffer object being unmapped. One of:- See Also:
-
nglGetBufferParameteriv
public static void nglGetBufferParameteriv(int target, int pname, long params) Unsafe version of:GetBufferParameteriv
-
glGetBufferParameteriv
Returns the value of a buffer object parameter.- Parameters:
target
- the target buffer object. One of:pname
- the symbolic name of a buffer object parameter. One of:BUFFER_SIZE
BUFFER_USAGE
BUFFER_ACCESS
BUFFER_MAPPED
BUFFER_ACCESS_FLAGS
BUFFER_MAP_LENGTH
BUFFER_MAP_OFFSET
BUFFER_IMMUTABLE_STORAGE
BUFFER_STORAGE_FLAGS
params
- the requested parameter- See Also:
-
glGetBufferParameteri
public static int glGetBufferParameteri(int target, int pname) Returns the value of a buffer object parameter.- Parameters:
target
- the target buffer object. One of:pname
- the symbolic name of a buffer object parameter. One of:BUFFER_SIZE
BUFFER_USAGE
BUFFER_ACCESS
BUFFER_MAPPED
BUFFER_ACCESS_FLAGS
BUFFER_MAP_LENGTH
BUFFER_MAP_OFFSET
BUFFER_IMMUTABLE_STORAGE
BUFFER_STORAGE_FLAGS
- See Also:
-
nglGetBufferPointerv
public static void nglGetBufferPointerv(int target, int pname, long params) Unsafe version of:GetBufferPointerv
-
glGetBufferPointerv
Returns the pointer to a mapped buffer object's data store.- Parameters:
target
- the target buffer object. One of:pname
- the pointer to be returned. Must be:BUFFER_MAP_POINTER
params
- the pointer value specified bypname
- See Also:
-
glGetBufferPointer
public static long glGetBufferPointer(int target, int pname) Returns the pointer to a mapped buffer object's data store.- Parameters:
target
- the target buffer object. One of:pname
- the pointer to be returned. Must be:BUFFER_MAP_POINTER
- See Also:
-
nglGenQueries
public static void nglGenQueries(int n, long ids) Unsafe version of:GenQueries
- Parameters:
n
- the number of query object names to be generated
-
glGenQueries
Generates query object names.- Parameters:
ids
- a buffer in which the generated query object names are stored- See Also:
-
glGenQueries
public static int glGenQueries()Generates query object names.- See Also:
-
nglDeleteQueries
public static void nglDeleteQueries(int n, long ids) Unsafe version of:DeleteQueries
- Parameters:
n
- the number of query objects to be deleted
-
glDeleteQueries
Deletes named query objects.- Parameters:
ids
- an array of query objects to be deleted- See Also:
-
glDeleteQueries
public static void glDeleteQueries(int id) Deletes named query objects.- See Also:
-
glIsQuery
public static boolean glIsQuery(int id) Determine if a name corresponds to a query object.- Parameters:
id
- a value that may be the name of a query object- See Also:
-
glBeginQuery
public static void glBeginQuery(int target, int id) Creates a query object and makes it active.- Parameters:
target
- the target type of query object established. One of:SAMPLES_PASSED
PRIMITIVES_GENERATED
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
TIME_ELAPSED
TIMESTAMP
ANY_SAMPLES_PASSED
ANY_SAMPLES_PASSED_CONSERVATIVE
id
- the name of a query object- See Also:
-
glEndQuery
public static void glEndQuery(int target) Marks the end of the sequence of commands to be tracked for the active query specified bytarget
.- Parameters:
target
- the query object target. One of:SAMPLES_PASSED
PRIMITIVES_GENERATED
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
TIME_ELAPSED
TIMESTAMP
ANY_SAMPLES_PASSED
ANY_SAMPLES_PASSED_CONSERVATIVE
- See Also:
-
nglGetQueryiv
public static void nglGetQueryiv(int target, int pname, long params) Unsafe version of:GetQueryiv
-
glGetQueryiv
Returns parameters of a query object target.- Parameters:
target
- the query object target. One of:SAMPLES_PASSED
PRIMITIVES_GENERATED
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
TIME_ELAPSED
TIMESTAMP
ANY_SAMPLES_PASSED
ANY_SAMPLES_PASSED_CONSERVATIVE
pname
- the symbolic name of a query object target parameter. One of:QUERY_COUNTER_BITS
CURRENT_QUERY
params
- the requested data- See Also:
-
glGetQueryi
public static int glGetQueryi(int target, int pname) Returns parameters of a query object target.- Parameters:
target
- the query object target. One of:SAMPLES_PASSED
PRIMITIVES_GENERATED
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
TIME_ELAPSED
TIMESTAMP
ANY_SAMPLES_PASSED
ANY_SAMPLES_PASSED_CONSERVATIVE
pname
- the symbolic name of a query object target parameter. One of:QUERY_COUNTER_BITS
CURRENT_QUERY
- See Also:
-
nglGetQueryObjectiv
public static void nglGetQueryObjectiv(int id, int pname, long params) Unsafe version of:GetQueryObjectiv
-
glGetQueryObjectiv
Returns the integer value of a query object parameter.- Parameters:
id
- the name of a query objectpname
- the symbolic name of a query object parameter. One of:QUERY_RESULT
QUERY_RESULT_AVAILABLE
params
- the requested data- See Also:
-
glGetQueryObjectiv
public static void glGetQueryObjectiv(int id, int pname, long params) Returns the integer value of a query object parameter.- Parameters:
id
- the name of a query objectpname
- the symbolic name of a query object parameter. One of:QUERY_RESULT
QUERY_RESULT_AVAILABLE
params
- the requested data- See Also:
-
glGetQueryObjecti
public static int glGetQueryObjecti(int id, int pname) Returns the integer value of a query object parameter.- Parameters:
id
- the name of a query objectpname
- the symbolic name of a query object parameter. One of:QUERY_RESULT
QUERY_RESULT_AVAILABLE
- See Also:
-
nglGetQueryObjectuiv
public static void nglGetQueryObjectuiv(int id, int pname, long params) Unsafe version of:GetQueryObjectuiv
-
glGetQueryObjectuiv
Unsigned version ofGetQueryObjectiv
.- Parameters:
id
- the name of a query objectpname
- the symbolic name of a query object parameter. One of:QUERY_RESULT
QUERY_RESULT_AVAILABLE
params
- the requested data- See Also:
-
glGetQueryObjectuiv
public static void glGetQueryObjectuiv(int id, int pname, long params) Unsigned version ofGetQueryObjectiv
.- Parameters:
id
- the name of a query objectpname
- the symbolic name of a query object parameter. One of:QUERY_RESULT
QUERY_RESULT_AVAILABLE
params
- the requested data- See Also:
-
glGetQueryObjectui
public static int glGetQueryObjectui(int id, int pname) Unsigned version ofGetQueryObjectiv
.- Parameters:
id
- the name of a query objectpname
- the symbolic name of a query object parameter. One of:QUERY_RESULT
QUERY_RESULT_AVAILABLE
- See Also:
-
glDeleteBuffers
public static void glDeleteBuffers(int[] buffers) Array version of:DeleteBuffers
- See Also:
-
glGenBuffers
public static void glGenBuffers(int[] buffers) Array version of:GenBuffers
- See Also:
-
glBufferData
public static void glBufferData(int target, short[] data, int usage) Array version of:BufferData
- See Also:
-
glBufferData
public static void glBufferData(int target, int[] data, int usage) Array version of:BufferData
- See Also:
-
glBufferData
public static void glBufferData(int target, long[] data, int usage) Array version of:BufferData
- See Also:
-
glBufferData
public static void glBufferData(int target, float[] data, int usage) Array version of:BufferData
- See Also:
-
glBufferData
public static void glBufferData(int target, double[] data, int usage) Array version of:BufferData
- See Also:
-
glBufferSubData
public static void glBufferSubData(int target, long offset, short[] data) Array version of:BufferSubData
- See Also:
-
glBufferSubData
public static void glBufferSubData(int target, long offset, int[] data) Array version of:BufferSubData
- See Also:
-
glBufferSubData
public static void glBufferSubData(int target, long offset, long[] data) Array version of:BufferSubData
- See Also:
-
glBufferSubData
public static void glBufferSubData(int target, long offset, float[] data) Array version of:BufferSubData
- See Also:
-
glBufferSubData
public static void glBufferSubData(int target, long offset, double[] data) Array version of:BufferSubData
- See Also:
-
glGetBufferSubData
public static void glGetBufferSubData(int target, long offset, short[] data) Array version of:GetBufferSubData
- See Also:
-
glGetBufferSubData
public static void glGetBufferSubData(int target, long offset, int[] data) Array version of:GetBufferSubData
- See Also:
-
glGetBufferSubData
public static void glGetBufferSubData(int target, long offset, long[] data) Array version of:GetBufferSubData
- See Also:
-
glGetBufferSubData
public static void glGetBufferSubData(int target, long offset, float[] data) Array version of:GetBufferSubData
- See Also:
-
glGetBufferSubData
public static void glGetBufferSubData(int target, long offset, double[] data) Array version of:GetBufferSubData
- See Also:
-
glGetBufferParameteriv
public static void glGetBufferParameteriv(int target, int pname, int[] params) Array version of:GetBufferParameteriv
- See Also:
-
glGenQueries
public static void glGenQueries(int[] ids) Array version of:GenQueries
- See Also:
-
glDeleteQueries
public static void glDeleteQueries(int[] ids) Array version of:DeleteQueries
- See Also:
-
glGetQueryiv
public static void glGetQueryiv(int target, int pname, int[] params) Array version of:GetQueryiv
- See Also:
-
glGetQueryObjectiv
public static void glGetQueryObjectiv(int id, int pname, int[] params) Array version of:GetQueryObjectiv
- See Also:
-
glGetQueryObjectuiv
public static void glGetQueryObjectuiv(int id, int pname, int[] params) Array version of:GetQueryObjectuiv
- See Also:
-