Class GL15C
- java.lang.Object
-
- org.lwjgl.opengl.GL11C
-
- org.lwjgl.opengl.GL12C
-
- org.lwjgl.opengl.GL13C
-
- org.lwjgl.opengl.GL14C
-
- org.lwjgl.opengl.GL15C
-
-
Field Summary
Fields Modifier and Type Field Description static int
GL_ARRAY_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.static int
GL_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_BUFFER_ACCESS
Accepted by thepname
parameter of GetBufferParameteriv.static int
GL_BUFFER_MAP_POINTER
Accepted by thepname
parameter of GetBufferPointerv.static int
GL_BUFFER_MAPPED
GL_BUFFER_SIZE
GL_BUFFER_USAGEAccepted by thepname
parameter of GetBufferParameteriv.static int
GL_CURRENT_QUERY
Accepted by thepname
parameter of GetQueryiv.static int
GL_DYNAMIC_COPY
GL_DYNAMIC_DRAW
GL_DYNAMIC_READAccepted by theusage
parameter of BufferData.static int
GL_ELEMENT_ARRAY_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.static int
GL_ELEMENT_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_QUERY_COUNTER_BITS
Accepted by thepname
parameter of GetQueryiv.static int
GL_QUERY_RESULT
GL_QUERY_RESULT_AVAILABLEAccepted by thepname
parameter of GetQueryObjectiv and GetQueryObjectuiv.static int
GL_READ_ONLY
GL_READ_WRITEAccepted by theaccess
parameter of MapBuffer.static int
GL_SAMPLES_PASSED
Accepted by thetarget
parameter of BeginQuery, EndQuery, and GetQueryiv.static int
GL_SRC1_ALPHA
New token names.static int
GL_STATIC_COPY
GL_STATIC_DRAW
GL_STATIC_READ
GL_STREAM_COPY
GL_STREAM_DRAW
GL_STREAM_READAccepted by theusage
parameter of BufferData.static int
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetVertexAttribiv.static int
GL_WRITE_ONLY
Accepted by theaccess
parameter of MapBuffer.-
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_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
-
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.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.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
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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, java.nio.ByteBuffer data, int usage)
Creates and initializes a buffer object's data store.static void
glBufferData(int target, java.nio.DoubleBuffer data, int usage)
Creates and initializes a buffer object's data store.static void
glBufferData(int target, java.nio.FloatBuffer data, int usage)
Creates and initializes a buffer object's data store.static void
glBufferData(int target, java.nio.IntBuffer data, int usage)
Creates and initializes a buffer object's data store.static void
glBufferData(int target, java.nio.LongBuffer data, int usage)
Creates and initializes a buffer object's data store.static void
glBufferData(int target, java.nio.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, java.nio.ByteBuffer data)
Updates a subset of a buffer object's data store.static void
glBufferSubData(int target, long offset, java.nio.DoubleBuffer data)
Updates a subset of a buffer object's data store.static void
glBufferSubData(int target, long offset, java.nio.FloatBuffer data)
Updates a subset of a buffer object's data store.static void
glBufferSubData(int target, long offset, java.nio.IntBuffer data)
Updates a subset of a buffer object's data store.static void
glBufferSubData(int target, long offset, java.nio.LongBuffer data)
Updates a subset of a buffer object's data store.static void
glBufferSubData(int target, long offset, java.nio.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(java.nio.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(java.nio.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
glGenBuffers()
Generates buffer object names.static void
glGenBuffers(int[] buffers)
Array version of:GenBuffers
static void
glGenBuffers(java.nio.IntBuffer buffers)
Generates buffer object names.static int
glGenQueries()
Generates query object names.static void
glGenQueries(int[] ids)
Array version of:GenQueries
static void
glGenQueries(java.nio.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, java.nio.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, org.lwjgl.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, java.nio.ByteBuffer data)
Returns a subset of a buffer object's data store.static void
glGetBufferSubData(int target, long offset, java.nio.DoubleBuffer data)
Returns a subset of a buffer object's data store.static void
glGetBufferSubData(int target, long offset, java.nio.FloatBuffer data)
Returns a subset of a buffer object's data store.static void
glGetBufferSubData(int target, long offset, java.nio.IntBuffer data)
Returns a subset of a buffer object's data store.static void
glGetBufferSubData(int target, long offset, java.nio.LongBuffer data)
Returns a subset of a buffer object's data store.static void
glGetBufferSubData(int target, long offset, java.nio.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, java.nio.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, java.nio.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, java.nio.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 java.nio.ByteBuffer
glMapBuffer(int target, int access)
Maps a buffer object's data store.static java.nio.ByteBuffer
glMapBuffer(int target, int access, long length, java.nio.ByteBuffer old_buffer)
Maps a buffer object's data store.static java.nio.ByteBuffer
glMapBuffer(int target, int access, java.nio.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.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
-
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.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.GL14C
glBlendColor, glBlendEquation, glBlendFuncSeparate, glMultiDrawArrays, glMultiDrawArrays, glMultiDrawElements, glMultiDrawElements, glPointParameterf, glPointParameterfv, glPointParameterfv, glPointParameteri, glPointParameteriv, glPointParameteriv, nglMultiDrawArrays, nglMultiDrawElements, nglPointParameterfv, nglPointParameteriv
-
-
-
-
Field Detail
-
GL_SRC1_ALPHA
New token names.
-
GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.
-
GL_ARRAY_BUFFER_BINDING, GL_ELEMENT_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetVertexAttribiv.
-
GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, GL_DYNAMIC_COPY
Accepted by theusage
parameter of BufferData.
-
GL_READ_ONLY, GL_WRITE_ONLY, GL_READ_WRITE
Accepted by theaccess
parameter of MapBuffer.
-
GL_BUFFER_SIZE, GL_BUFFER_USAGE, GL_BUFFER_ACCESS, GL_BUFFER_MAPPED
Accepted by thepname
parameter of GetBufferParameteriv.
-
GL_BUFFER_MAP_POINTER
Accepted by thepname
parameter of GetBufferPointerv.
-
GL_SAMPLES_PASSED
Accepted by thetarget
parameter of BeginQuery, EndQuery, and GetQueryiv.
-
GL_QUERY_COUNTER_BITS, GL_CURRENT_QUERY
Accepted by thepname
parameter of GetQueryiv.
-
GL_QUERY_RESULT, GL_QUERY_RESULT_AVAILABLE
Accepted by thepname
parameter of GetQueryObjectiv and GetQueryObjectuiv.
-
-
Method Detail
-
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:
- Reference Page
-
nglDeleteBuffers
public static void nglDeleteBuffers(int n, long buffers)
Unsafe version of:DeleteBuffers
- Parameters:
n
- the number of buffer objects to be deleted
-
glDeleteBuffers
public static void glDeleteBuffers(java.nio.IntBuffer buffers)
Deletes named buffer objects.- Parameters:
buffers
- an array of buffer objects to be deleted- See Also:
- Reference Page
-
glDeleteBuffers
public static void glDeleteBuffers(int buffer)
Deletes named buffer objects.- See Also:
- Reference Page
-
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
public static void glGenBuffers(java.nio.IntBuffer buffers)
Generates buffer object names.- Parameters:
buffers
- a buffer in which the generated buffer object names are stored- See Also:
- Reference Page
-
glGenBuffers
public static int glGenBuffers()
Generates buffer object names.- See Also:
- Reference Page
-
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:
- Reference Page
-
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:
- Reference Page
-
glBufferData
public static void glBufferData(int target, java.nio.ByteBuffer data, int usage) public static void glBufferData(int target, java.nio.ShortBuffer data, int usage) public static void glBufferData(int target, java.nio.IntBuffer data, int usage) public static void glBufferData(int target, java.nio.LongBuffer data, int usage) public static void glBufferData(int target, java.nio.FloatBuffer data, int usage) public static void glBufferData(int target, java.nio.DoubleBuffer data, 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: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:
- Reference Page
-
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
public static void glBufferSubData(int target, long offset, java.nio.ByteBuffer data) public static void glBufferSubData(int target, long offset, java.nio.ShortBuffer data) public static void glBufferSubData(int target, long offset, java.nio.IntBuffer data) public static void glBufferSubData(int target, long offset, java.nio.LongBuffer data) public static void glBufferSubData(int target, long offset, java.nio.FloatBuffer data) public static void glBufferSubData(int target, long offset, java.nio.DoubleBuffer data)
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:
- Reference Page
-
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
public static void glGetBufferSubData(int target, long offset, java.nio.ByteBuffer data) public static void glGetBufferSubData(int target, long offset, java.nio.ShortBuffer data) public static void glGetBufferSubData(int target, long offset, java.nio.IntBuffer data) public static void glGetBufferSubData(int target, long offset, java.nio.LongBuffer data) public static void glGetBufferSubData(int target, long offset, java.nio.FloatBuffer data) public static void glGetBufferSubData(int target, long offset, java.nio.DoubleBuffer data)
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:
- Reference Page
-
nglMapBuffer
public static long nglMapBuffer(int target, int access)
Unsafe version of:MapBuffer
-
glMapBuffer
@Nullable public static java.nio.ByteBuffer glMapBuffer(int target, int access) @Nullable public static java.nio.ByteBuffer glMapBuffer(int target, int access, @Nullable java.nio.ByteBuffer old_buffer) @Nullable public static java.nio.ByteBuffer glMapBuffer(int target, int access, long length, @Nullable java.nio.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:
- Reference Page
-
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:
- Reference Page
-
nglGetBufferParameteriv
public static void nglGetBufferParameteriv(int target, int pname, long params)
Unsafe version of:GetBufferParameteriv
-
glGetBufferParameteriv
public static void glGetBufferParameteriv(int target, int pname, java.nio.IntBuffer params)
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:
- Reference Page
-
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:
- Reference Page
-
nglGetBufferPointerv
public static void nglGetBufferPointerv(int target, int pname, long params)
Unsafe version of:GetBufferPointerv
-
glGetBufferPointerv
public static void glGetBufferPointerv(int target, int pname, org.lwjgl.PointerBuffer params)
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:
- Reference Page
-
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:
- Reference Page
-
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
public static void glGenQueries(java.nio.IntBuffer ids)
Generates query object names.- Parameters:
ids
- a buffer in which the generated query object names are stored- See Also:
- Reference Page
-
glGenQueries
public static int glGenQueries()
Generates query object names.- See Also:
- Reference Page
-
nglDeleteQueries
public static void nglDeleteQueries(int n, long ids)
Unsafe version of:DeleteQueries
- Parameters:
n
- the number of query objects to be deleted
-
glDeleteQueries
public static void glDeleteQueries(java.nio.IntBuffer ids)
Deletes named query objects.- Parameters:
ids
- an array of query objects to be deleted- See Also:
- Reference Page
-
glDeleteQueries
public static void glDeleteQueries(int id)
Deletes named query objects.- See Also:
- Reference Page
-
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:
- Reference Page
-
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:
- Reference Page
-
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:
- Reference Page
-
nglGetQueryiv
public static void nglGetQueryiv(int target, int pname, long params)
Unsafe version of:GetQueryiv
-
glGetQueryiv
public static void glGetQueryiv(int target, int pname, java.nio.IntBuffer params)
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:
- Reference Page
-
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:
- Reference Page
-
nglGetQueryObjectiv
public static void nglGetQueryObjectiv(int id, int pname, long params)
Unsafe version of:GetQueryObjectiv
-
glGetQueryObjectiv
public static void glGetQueryObjectiv(int id, int pname, java.nio.IntBuffer 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:
- Reference Page
-
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:
- Reference Page
-
nglGetQueryObjectuiv
public static void nglGetQueryObjectuiv(int id, int pname, long params)
Unsafe version of:GetQueryObjectuiv
-
glGetQueryObjectuiv
public static void glGetQueryObjectuiv(int id, int pname, java.nio.IntBuffer 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:
- Reference Page
-
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:
- Reference Page
-
glDeleteBuffers
public static void glDeleteBuffers(int[] buffers)
Array version of:DeleteBuffers
- See Also:
- Reference Page
-
glGenBuffers
public static void glGenBuffers(int[] buffers)
Array version of:GenBuffers
- See Also:
- Reference Page
-
glBufferData
public static void glBufferData(int target, short[] data, int usage) public static void glBufferData(int target, int[] data, int usage) public static void glBufferData(int target, long[] data, int usage) public static void glBufferData(int target, float[] data, int usage) public static void glBufferData(int target, double[] data, int usage)
Array version of:BufferData
- See Also:
- Reference Page
-
glBufferSubData
public static void glBufferSubData(int target, long offset, short[] data) public static void glBufferSubData(int target, long offset, int[] data) public static void glBufferSubData(int target, long offset, long[] data) public static void glBufferSubData(int target, long offset, float[] data) public static void glBufferSubData(int target, long offset, double[] data)
Array version of:BufferSubData
- See Also:
- Reference Page
-
glGetBufferSubData
public static void glGetBufferSubData(int target, long offset, short[] data) public static void glGetBufferSubData(int target, long offset, int[] data) public static void glGetBufferSubData(int target, long offset, long[] data) public static void glGetBufferSubData(int target, long offset, float[] data) public static void glGetBufferSubData(int target, long offset, double[] data)
Array version of:GetBufferSubData
- See Also:
- Reference Page
-
glGetBufferParameteriv
public static void glGetBufferParameteriv(int target, int pname, int[] params)
Array version of:GetBufferParameteriv
- See Also:
- Reference Page
-
glGenQueries
public static void glGenQueries(int[] ids)
Array version of:GenQueries
- See Also:
- Reference Page
-
glDeleteQueries
public static void glDeleteQueries(int[] ids)
Array version of:DeleteQueries
- See Also:
- Reference Page
-
glGetQueryiv
public static void glGetQueryiv(int target, int pname, int[] params)
Array version of:GetQueryiv
- See Also:
- Reference Page
-
glGetQueryObjectiv
public static void glGetQueryObjectiv(int id, int pname, int[] params)
Array version of:GetQueryObjectiv
- See Also:
- Reference Page
-
glGetQueryObjectuiv
public static void glGetQueryObjectuiv(int id, int pname, int[] params)
Array version of:GetQueryObjectuiv
- See Also:
- Reference Page
-
-