Package org.lwjgl.opengl
Class GL42
- java.lang.Object
-
- org.lwjgl.opengl.GL42
-
public class GL42 extends java.lang.ObjectThe core OpenGL 4.2 functionality. OpenGL 4.2 implementations support revision 4.20 of the OpenGL Shading Language.Extensions promoted to core in this release:
-
-
Field Summary
Fields Modifier and Type Field and Description static intGL_ACTIVE_ATOMIC_COUNTER_BUFFERSAccepted by thepnameparameter of GetProgramiv.static intGL_ALL_BARRIER_BITS
GL_ATOMIC_COUNTER_BARRIER_BITAccepted by thebarriersparameter of MemoryBarrier.static intGL_ATOMIC_COUNTER_BUFFERAccepted by thetargetparameter of BindBufferBase and BindBufferRange.static intGL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES
GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERSAccepted by thepnameparameter of GetActiveAtomicCounterBufferiv.static intGL_ATOMIC_COUNTER_BUFFER_BINDINGAccepted by thepnameparameter of GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, GetInteger64i_v, GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev, and GetActiveAtomicCounterBufferiv.static intGL_ATOMIC_COUNTER_BUFFER_DATA_SIZE
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADERAccepted by thepnameparameter of GetActiveAtomicCounterBufferiv.static intGL_ATOMIC_COUNTER_BUFFER_SIZE
GL_ATOMIC_COUNTER_BUFFER_STARTAccepted by thepnameparameter of GetIntegeri_64v.static intGL_BUFFER_UPDATE_BARRIER_BIT
GL_COMMAND_BARRIER_BITAccepted by thebarriersparameter of MemoryBarrier.static intGL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT
GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT
GL_COMPRESSED_RGBA_BPTC_UNORM
GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORMAccepted by theinternalformatparameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2D, and CompressedTexImage3D and theformatparameter of CompressedTexSubImage2D and CompressedTexSubImage3D.static intGL_COPY_READ_BUFFER_BINDING
GL_COPY_WRITE_BUFFER_BINDINGRenamed tokens.static intGL_ELEMENT_ARRAY_BARRIER_BIT
GL_FRAMEBUFFER_BARRIER_BITAccepted by thebarriersparameter of MemoryBarrier.static intGL_IMAGE_1D
GL_IMAGE_1D_ARRAY
GL_IMAGE_2D
GL_IMAGE_2D_ARRAY
GL_IMAGE_2D_MULTISAMPLE
GL_IMAGE_2D_MULTISAMPLE_ARRAY
GL_IMAGE_2D_RECT
GL_IMAGE_3DReturned by thetypeparameter of GetActiveUniform.static intGL_IMAGE_BINDING_ACCESS
GL_IMAGE_BINDING_FORMAT
GL_IMAGE_BINDING_LAYER
GL_IMAGE_BINDING_LAYERED
GL_IMAGE_BINDING_LEVEL
GL_IMAGE_BINDING_NAMEAccepted by thetargetparameter of GetIntegeri_v and GetBooleani_v.static intGL_IMAGE_BUFFER
GL_IMAGE_CUBE
GL_IMAGE_CUBE_MAP_ARRAYReturned by thetypeparameter of GetActiveUniform.static intGL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS
GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZEReturned in thedataparameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv whenvalueis IMAGE_FORMAT_COMPATIBILITY_TYPE.static intGL_IMAGE_FORMAT_COMPATIBILITY_TYPEAccepted by thevalueparameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv.static intGL_INT_IMAGE_1D
GL_INT_IMAGE_1D_ARRAY
GL_INT_IMAGE_2D
GL_INT_IMAGE_2D_ARRAY
GL_INT_IMAGE_2D_MULTISAMPLE
GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY
GL_INT_IMAGE_2D_RECT
GL_INT_IMAGE_3D
GL_INT_IMAGE_BUFFER
GL_INT_IMAGE_CUBE
GL_INT_IMAGE_CUBE_MAP_ARRAYReturned by thetypeparameter of GetActiveUniform.static intGL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS
GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE
GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS
GL_MAX_COMBINED_ATOMIC_COUNTERSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_COMBINED_IMAGE_UNIFORMS
GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS
GL_MAX_FRAGMENT_ATOMIC_COUNTERSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_FRAGMENT_IMAGE_UNIFORMSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS
GL_MAX_GEOMETRY_ATOMIC_COUNTERSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_GEOMETRY_IMAGE_UNIFORMS
GL_MAX_IMAGE_SAMPLES
GL_MAX_IMAGE_UNITSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS
GL_MAX_TESS_CONTROL_ATOMIC_COUNTERSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_TESS_CONTROL_IMAGE_UNIFORMSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS
GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_TESS_EVALUATION_IMAGE_UNIFORMSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS
GL_MAX_VERTEX_ATOMIC_COUNTERSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_VERTEX_IMAGE_UNIFORMSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_MIN_MAP_BUFFER_ALIGNMENTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_NUM_SAMPLE_COUNTSAccepted by thepnameparameter of GetInternalformativ.static intGL_PACK_COMPRESSED_BLOCK_DEPTH
GL_PACK_COMPRESSED_BLOCK_HEIGHT
GL_PACK_COMPRESSED_BLOCK_SIZE
GL_PACK_COMPRESSED_BLOCK_WIDTHAccepted by thepnameparameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_PIXEL_BUFFER_BARRIER_BIT
GL_SHADER_IMAGE_ACCESS_BARRIER_BIT
GL_TEXTURE_FETCH_BARRIER_BITAccepted by thebarriersparameter of MemoryBarrier.static intGL_TEXTURE_IMMUTABLE_FORMATAccepted by thevalueparameter of GetTexParameter{if}v.static intGL_TEXTURE_UPDATE_BARRIER_BITAccepted by thebarriersparameter of MemoryBarrier.static intGL_TRANSFORM_FEEDBACK_ACTIVERenamed tokens.static intGL_TRANSFORM_FEEDBACK_BARRIER_BITAccepted by thebarriersparameter of MemoryBarrier.static intGL_TRANSFORM_FEEDBACK_PAUSEDRenamed tokens.static intGL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEXAccepted by thepnameparameter of GetActiveUniformsiv.static intGL_UNIFORM_BARRIER_BITAccepted by thebarriersparameter of MemoryBarrier.static intGL_UNPACK_COMPRESSED_BLOCK_DEPTH
GL_UNPACK_COMPRESSED_BLOCK_HEIGHT
GL_UNPACK_COMPRESSED_BLOCK_SIZE
GL_UNPACK_COMPRESSED_BLOCK_WIDTHAccepted by thepnameparameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_UNSIGNED_INT_ATOMIC_COUNTERReturned inparamsby GetActiveUniform and GetActiveUniformsiv.static intGL_UNSIGNED_INT_IMAGE_1D
GL_UNSIGNED_INT_IMAGE_1D_ARRAY
GL_UNSIGNED_INT_IMAGE_2D
GL_UNSIGNED_INT_IMAGE_2D_ARRAY
GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE
GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY
GL_UNSIGNED_INT_IMAGE_2D_RECT
GL_UNSIGNED_INT_IMAGE_3D
GL_UNSIGNED_INT_IMAGE_BUFFER
GL_UNSIGNED_INT_IMAGE_CUBE
GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAYReturned by thetypeparameter of GetActiveUniform.static intGL_VERTEX_ATTRIB_ARRAY_BARRIER_BITAccepted by thebarriersparameter of MemoryBarrier.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglBindImageTexture(int unit, int texture, int level, boolean layered, int layer, int access, int format)static voidglDrawArraysInstancedBaseInstance(int mode, int first, int count, int primcount, int baseinstance)static voidglDrawElementsInstancedBaseInstance(int mode, java.nio.ByteBuffer indices, int primcount, int baseinstance)static voidglDrawElementsInstancedBaseInstance(int mode, java.nio.IntBuffer indices, int primcount, int baseinstance)static voidglDrawElementsInstancedBaseInstance(int mode, int type, java.nio.ByteBuffer indices, int primcount, int baseinstance)static voidglDrawElementsInstancedBaseInstance(int mode, int count, int type, long indices, int primcount, int baseinstance)static voidglDrawElementsInstancedBaseInstance(int mode, java.nio.ShortBuffer indices, int primcount, int baseinstance)static voidglDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ByteBuffer indices, int primcount, int basevertex, int baseinstance)static voidglDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.IntBuffer indices, int primcount, int basevertex, int baseinstance)static voidglDrawElementsInstancedBaseVertexBaseInstance(int mode, int type, java.nio.ByteBuffer indices, int primcount, int basevertex, int baseinstance)static voidglDrawElementsInstancedBaseVertexBaseInstance(int mode, int count, int type, long indices, int primcount, int basevertex, int baseinstance)static voidglDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ShortBuffer indices, int primcount, int basevertex, int baseinstance)static voidglDrawTransformFeedbackInstanced(int mode, int id, int primcount)static voidglDrawTransformFeedbackStreamInstanced(int mode, int id, int stream, int primcount)static intglGetActiveAtomicCounterBufferi(int program, int bufferIndex, int pname)static voidglGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, int[] params)static voidglGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, java.nio.IntBuffer params)static intglGetInternalformati(int target, int internalformat, int pname)static voidglGetInternalformativ(int target, int internalformat, int pname, int[] params)static voidglGetInternalformativ(int target, int internalformat, int pname, java.nio.IntBuffer params)static voidglMemoryBarrier(int barriers)static voidglTexStorage1D(int target, int levels, int internalformat, int width)static voidglTexStorage2D(int target, int levels, int internalformat, int width, int height)static voidglTexStorage3D(int target, int levels, int internalformat, int width, int height, int depth)
-
-
-
Field Detail
-
GL_COPY_READ_BUFFER_BINDING, GL_COPY_WRITE_BUFFER_BINDING, GL_TRANSFORM_FEEDBACK_ACTIVE, GL_TRANSFORM_FEEDBACK_PAUSED
Renamed tokens.
-
GL_COMPRESSED_RGBA_BPTC_UNORM, GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM, GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT, GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT
Accepted by theinternalformatparameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2D, and CompressedTexImage3D and theformatparameter of CompressedTexSubImage2D and CompressedTexSubImage3D.
-
GL_UNPACK_COMPRESSED_BLOCK_WIDTH, GL_UNPACK_COMPRESSED_BLOCK_HEIGHT, GL_UNPACK_COMPRESSED_BLOCK_DEPTH, GL_UNPACK_COMPRESSED_BLOCK_SIZE, GL_PACK_COMPRESSED_BLOCK_WIDTH, GL_PACK_COMPRESSED_BLOCK_HEIGHT, GL_PACK_COMPRESSED_BLOCK_DEPTH, GL_PACK_COMPRESSED_BLOCK_SIZE
Accepted by thepnameparameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
-
GL_ATOMIC_COUNTER_BUFFER
Accepted by thetargetparameter of BindBufferBase and BindBufferRange.
-
GL_ATOMIC_COUNTER_BUFFER_BINDING
Accepted by thepnameparameter of GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, GetInteger64i_v, GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev, and GetActiveAtomicCounterBufferiv.
-
GL_ATOMIC_COUNTER_BUFFER_START, GL_ATOMIC_COUNTER_BUFFER_SIZE
Accepted by thepnameparameter of GetIntegeri_64v.
-
GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE, GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS, GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES, GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER, GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER, GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER, GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER, GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER
Accepted by thepnameparameter of GetActiveAtomicCounterBufferiv.
-
GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS, GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS, GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS, GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS, GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS, GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS, GL_MAX_VERTEX_ATOMIC_COUNTERS, GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS, GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS, GL_MAX_GEOMETRY_ATOMIC_COUNTERS, GL_MAX_FRAGMENT_ATOMIC_COUNTERS, GL_MAX_COMBINED_ATOMIC_COUNTERS, GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE, GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
-
GL_ACTIVE_ATOMIC_COUNTER_BUFFERS
Accepted by thepnameparameter of GetProgramiv.
-
GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX
Accepted by thepnameparameter of GetActiveUniformsiv.
-
GL_UNSIGNED_INT_ATOMIC_COUNTER
Returned inparamsby GetActiveUniform and GetActiveUniformsiv.
-
GL_TEXTURE_IMMUTABLE_FORMAT
Accepted by thevalueparameter of GetTexParameter{if}v.
-
GL_MAX_IMAGE_UNITS, GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS, GL_MAX_IMAGE_SAMPLES, GL_MAX_VERTEX_IMAGE_UNIFORMS, GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS, GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS, GL_MAX_GEOMETRY_IMAGE_UNIFORMS, GL_MAX_FRAGMENT_IMAGE_UNIFORMS, GL_MAX_COMBINED_IMAGE_UNIFORMS
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
-
GL_IMAGE_BINDING_NAME, GL_IMAGE_BINDING_LEVEL, GL_IMAGE_BINDING_LAYERED, GL_IMAGE_BINDING_LAYER, GL_IMAGE_BINDING_ACCESS, GL_IMAGE_BINDING_FORMAT
Accepted by thetargetparameter of GetIntegeri_v and GetBooleani_v.
-
GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT, GL_ELEMENT_ARRAY_BARRIER_BIT, GL_UNIFORM_BARRIER_BIT, GL_TEXTURE_FETCH_BARRIER_BIT, GL_SHADER_IMAGE_ACCESS_BARRIER_BIT, GL_COMMAND_BARRIER_BIT, GL_PIXEL_BUFFER_BARRIER_BIT, GL_TEXTURE_UPDATE_BARRIER_BIT, GL_BUFFER_UPDATE_BARRIER_BIT, GL_FRAMEBUFFER_BARRIER_BIT, GL_TRANSFORM_FEEDBACK_BARRIER_BIT, GL_ATOMIC_COUNTER_BARRIER_BIT, GL_ALL_BARRIER_BITS
Accepted by thebarriersparameter of MemoryBarrier.
-
GL_IMAGE_1D, GL_IMAGE_2D, GL_IMAGE_3D, GL_IMAGE_2D_RECT, GL_IMAGE_CUBE, GL_IMAGE_BUFFER, GL_IMAGE_1D_ARRAY, GL_IMAGE_2D_ARRAY, GL_IMAGE_CUBE_MAP_ARRAY, GL_IMAGE_2D_MULTISAMPLE, GL_IMAGE_2D_MULTISAMPLE_ARRAY, GL_INT_IMAGE_1D, GL_INT_IMAGE_2D, GL_INT_IMAGE_3D, GL_INT_IMAGE_2D_RECT, GL_INT_IMAGE_CUBE, GL_INT_IMAGE_BUFFER, GL_INT_IMAGE_1D_ARRAY, GL_INT_IMAGE_2D_ARRAY, GL_INT_IMAGE_CUBE_MAP_ARRAY, GL_INT_IMAGE_2D_MULTISAMPLE, GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY, GL_UNSIGNED_INT_IMAGE_1D, GL_UNSIGNED_INT_IMAGE_2D, GL_UNSIGNED_INT_IMAGE_3D, GL_UNSIGNED_INT_IMAGE_2D_RECT, GL_UNSIGNED_INT_IMAGE_CUBE, GL_UNSIGNED_INT_IMAGE_BUFFER, GL_UNSIGNED_INT_IMAGE_1D_ARRAY, GL_UNSIGNED_INT_IMAGE_2D_ARRAY, GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY, GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE, GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY
Returned by thetypeparameter of GetActiveUniform.
-
GL_IMAGE_FORMAT_COMPATIBILITY_TYPE
Accepted by thevalueparameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv.
-
GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE, GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS
Returned in thedataparameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv whenvalueis IMAGE_FORMAT_COMPATIBILITY_TYPE.
-
GL_NUM_SAMPLE_COUNTS
Accepted by thepnameparameter of GetInternalformativ.
-
GL_MIN_MAP_BUFFER_ALIGNMENT
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
-
-
Method Detail
-
glGetActiveAtomicCounterBufferiv
public static void glGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, java.nio.IntBuffer params)Obtains information about the set of active atomic counter buffers for a program.- Parameters:
program- the name of a program object for which the commandLinkProgramhas been issued in the pastbufferIndex- the index of an active atomic counter bufferpname- the parameter to query. One of:params- a buffer in which to place the returned value
-
glGetActiveAtomicCounterBufferi
public static int glGetActiveAtomicCounterBufferi(int program, int bufferIndex, int pname)Obtains information about the set of active atomic counter buffers for a program.- Parameters:
program- the name of a program object for which the commandLinkProgramhas been issued in the pastbufferIndex- the index of an active atomic counter bufferpname- the parameter to query. One of:
-
glTexStorage1D
public static void glTexStorage1D(int target, int levels, int internalformat, int width)Simultaneously specifies storage for all levels of a one-dimensional texture.- Parameters:
target- the target of the operation. One of:TEXTURE_1DPROXY_TEXTURE_1Dlevels- the number of texture levelsinternalformat- the sized internal format to be used to store texture image datawidth- the width of the texture, in texels
-
glTexStorage2D
public static void glTexStorage2D(int target, int levels, int internalformat, int width, int height)Simultaneously specifies storage for all levels of a two-dimensional or one-dimensional array texture.- Parameters:
target- the target of the operation. One of:TEXTURE_2DTEXTURE_1D_ARRAYTEXTURE_RECTANGLETEXTURE_CUBE_MAPPROXY_TEXTURE_2DPROXY_TEXTURE_1D_ARRAYPROXY_TEXTURE_RECTANGLEPROXY_TEXTURE_CUBE_MAPlevels- the number of texture levelsinternalformat- the sized internal format to be used to store texture image datawidth- the width of the texture, in texelsheight- the height of the texture, in texels
-
glTexStorage3D
public static void glTexStorage3D(int target, int levels, int internalformat, int width, int height, int depth)Simultaneously specifies storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture.- Parameters:
target- the target of the operation. One of:TEXTURE_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYPROXY_TEXTURE_3DPROXY_TEXTURE_2D_ARRAYPROXY_TEXTURE_CUBE_MAP_ARRAYlevels- the number of texture levelsinternalformat- the sized internal format to be used to store texture image datawidth- the width of the texture, in texelsheight- the height of the texture, in texelsdepth- the depth of the texture, in texels
-
glDrawTransformFeedbackInstanced
public static void glDrawTransformFeedbackInstanced(int mode, int id, int primcount)Renders multiple instances of primitives using a count derived from a transform feedback object.- Parameters:
mode- what kind of primitives to render. One of:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESid- the name of a transform feedback object from which to retrieve a primitive countprimcount- the number of instances of the geometry to render
-
glDrawTransformFeedbackStreamInstanced
public static void glDrawTransformFeedbackStreamInstanced(int mode, int id, int stream, int primcount)Renders multiple instances of primitives using a count derived from a specifed stream of a transform feedback object.- Parameters:
mode- what kind of primitives to render. One of:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESid- the name of a transform feedback object from which to retrieve a primitive countstream- the index of the transform feedback stream from which to retrieve a primitive countprimcount- the number of instances of the geometry to render
-
glDrawArraysInstancedBaseInstance
public static void glDrawArraysInstancedBaseInstance(int mode, int first, int count, int primcount, int baseinstance)Draws multiple instances of a range of elements with an offset applied to instanced attributes.- Parameters:
mode- what kind of primitives to render. One of:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESfirst- the starting index in the enabled arrayscount- the number of indices to be renderedprimcount- the number of instances of the specified range of indices to be renderedbaseinstance- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseInstance
public static void glDrawElementsInstancedBaseInstance(int mode, int count, int type, long indices, int primcount, int baseinstance)Draws multiple instances of a set of elements with an offset applied to instanced attributes- Parameters:
mode- what kind of primitives to render. One of:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHEScount- the number of elements to be renderedtype- the type of the values inindices. One of:UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INTindices- a pointer to the location where the indices are storedprimcount- the number of instances of the specified range of indices to be renderedbaseinstance- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseInstance
public static void glDrawElementsInstancedBaseInstance(int mode, int type, java.nio.ByteBuffer indices, int primcount, int baseinstance)Draws multiple instances of a set of elements with an offset applied to instanced attributes- Parameters:
mode- what kind of primitives to render. One of:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHEStype- the type of the values inindices. One of:UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INTindices- a pointer to the location where the indices are storedprimcount- the number of instances of the specified range of indices to be renderedbaseinstance- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseInstance
public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.ByteBuffer indices, int primcount, int baseinstance) public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.ShortBuffer indices, int primcount, int baseinstance) public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.IntBuffer indices, int primcount, int baseinstance)Draws multiple instances of a set of elements with an offset applied to instanced attributes- Parameters:
mode- what kind of primitives to render. One of:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESindices- a pointer to the location where the indices are storedprimcount- the number of instances of the specified range of indices to be renderedbaseinstance- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseVertexBaseInstance
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, int count, int type, long indices, int primcount, int basevertex, int baseinstance)Renders multiple instances of a set of primitives from array data with a per-element offset.- Parameters:
mode- what kind of primitives to render. One of:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHEScount- the number of elements to be renderedtype- the type of the values inindices. One of:UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INTindices- a pointer to the location where the indices are storedprimcount- the number of instances of the indexed geometry that should be drawnbasevertex- a constant that should be added to each element ofindiceswhen choosing elements from the enabled vertex arraysbaseinstance- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseVertexBaseInstance
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, int type, java.nio.ByteBuffer indices, int primcount, int basevertex, int baseinstance)Renders multiple instances of a set of primitives from array data with a per-element offset.- Parameters:
mode- what kind of primitives to render. One of:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHEStype- the type of the values inindices. One of:UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INTindices- a pointer to the location where the indices are storedprimcount- the number of instances of the indexed geometry that should be drawnbasevertex- a constant that should be added to each element ofindiceswhen choosing elements from the enabled vertex arraysbaseinstance- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseVertexBaseInstance
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ByteBuffer indices, int primcount, int basevertex, int baseinstance) public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ShortBuffer indices, int primcount, int basevertex, int baseinstance) public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.IntBuffer indices, int primcount, int basevertex, int baseinstance)Renders multiple instances of a set of primitives from array data with a per-element offset.- Parameters:
mode- what kind of primitives to render. One of:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESindices- a pointer to the location where the indices are storedprimcount- the number of instances of the indexed geometry that should be drawnbasevertex- a constant that should be added to each element ofindiceswhen choosing elements from the enabled vertex arraysbaseinstance- the base instance for use in fetching instanced vertex attributes
-
glBindImageTexture
public static void glBindImageTexture(int unit, int texture, int level, boolean layered, int layer, int access, int format)Binds a level of a texture to an image unit.- Parameters:
unit- the index of the image unit to which to bind the texturetexture- the name of the texture to bind to the image unitlevel- the level of the texture that is to be boundlayered- whether a layered texture binding is to be establishedlayer- iflayeredis false, specifies the layer of texture to be bound to the image unit. Ignored otherwise.access- a token indicating the type of access that will be performed on the imageformat- the format that the elements of the image will be treated as for the purposes of formatted stores
-
glMemoryBarrier
public static void glMemoryBarrier(int barriers)
Defines a barrier ordering memory transactions.- Parameters:
barriers- the barriers to insert (bitwise combination). One or more of:
-
glGetInternalformativ
public static void glGetInternalformativ(int target, int internalformat, int pname, java.nio.IntBuffer params)Retrieves information about implementation-dependent support for internal formats.- Parameters:
target- the usage of the internal format. One of:TEXTURE_1DTEXTURE_2DTEXTURE_1D_ARRAYTEXTURE_RECTANGLETEXTURE_CUBE_MAPTEXTURE_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYRENDERBUFFERTEXTURE_BUFFERTEXTURE_2D_MULTISAMPLETEXTURE_2D_MULTISAMPLE_ARRAYinternalformat- the internal format about which to retrieve informationpname- the type of information to queryparams- a variable into which to write the retrieved information
-
glGetInternalformati
public static int glGetInternalformati(int target, int internalformat, int pname)Retrieves information about implementation-dependent support for internal formats.- Parameters:
target- the usage of the internal format. One of:TEXTURE_1DTEXTURE_2DTEXTURE_1D_ARRAYTEXTURE_RECTANGLETEXTURE_CUBE_MAPTEXTURE_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYRENDERBUFFERTEXTURE_BUFFERTEXTURE_2D_MULTISAMPLETEXTURE_2D_MULTISAMPLE_ARRAYinternalformat- the internal format about which to retrieve informationpname- the type of information to query
-
glGetActiveAtomicCounterBufferiv
public static void glGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, int[] params)Array version of:GetActiveAtomicCounterBufferiv
-
glGetInternalformativ
public static void glGetInternalformativ(int target, int internalformat, int pname, int[] params)Array version of:GetInternalformativ
-
-