Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GL40

extends GL33
Class Inheritance
Known Direct Subclasses
org.lwjgl.opengl.GL41
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

The OpenGL functionality up to version 4.0. Includes the deprecated symbols of the Compatibility Profile.

OpenGL 4.0 implementations support revision 4.00 of the OpenGL Shading Language.

Extensions promoted to core in this release:

Field Summary

Modifier and TypeField and Description
public static final int
GL_ACTIVE_SUBROUTINE_MAX_LENGTH

Accepted by the pname parameter of GetProgramStageiv.

public static final int
GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS

Accepted by the pname parameter of GetProgramStageiv.

public static final int
GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH

Accepted by the pname parameter of GetProgramStageiv.

public static final int
GL_ACTIVE_SUBROUTINE_UNIFORMS

Accepted by the pname parameter of GetProgramStageiv.

public static final int
GL_ACTIVE_SUBROUTINES

Accepted by the pname parameter of GetProgramStageiv.

public static final int
GL_COMPATIBLE_SUBROUTINES

Accepted by the pname parameter of GetActiveSubroutineUniformiv.

public static final int
GL_DOUBLE_MAT2

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_MAT2x3

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_MAT2x4

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_MAT3

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_MAT3x2

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_MAT3x4

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_MAT4

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_MAT4x2

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_MAT4x3

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_VEC2

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_VEC3

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DOUBLE_VEC4

Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.

public static final int
GL_DRAW_INDIRECT_BUFFER

Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, MapBufferRange, FlushMappedBufferRange, GetBufferParameteriv, and CopyBufferSubData.

public static final int
GL_DRAW_INDIRECT_BUFFER_BINDING

Accepted by the value parameter of GetIntegerv, GetBooleanv, GetFloatv, and GetDoublev.

public static final int
GL_FRACTIONAL_EVEN

Returned by GetProgramiv when pname is TESS_GEN_SPACING.

public static final int
GL_FRACTIONAL_ODD

Returned by GetProgramiv when pname is TESS_GEN_SPACING.

public static final int
GL_FRAGMENT_INTERPOLATION_OFFSET_BITS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_GEOMETRY_SHADER_INVOCATIONS

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_INT_SAMPLER_CUBE_MAP_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_ISOLINES

Returned by GetProgramiv when pname is TESS_GEN_MODE.

public static final int
GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_FRAGMENT_INTERPOLATION_OFFSET

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_GEOMETRY_SHADER_INVOCATIONS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_PATCH_VERTICES

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_SUBROUTINES

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_TESS_CONTROL_INPUT_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_GEN_LEVEL

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TESS_PATCH_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_MAX_TRANSFORM_FEEDBACK_BUFFERS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.

public static final int
GL_MAX_VERTEX_STREAMS

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.

public static final int
GL_MIN_FRAGMENT_INTERPOLATION_OFFSET

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MIN_SAMPLE_SHADING_VALUE

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.

public static final int
GL_NUM_COMPATIBLE_SUBROUTINES

Accepted by the pname parameter of GetActiveSubroutineUniformiv.

public static final int
GL_PATCH_DEFAULT_INNER_LEVEL

Accepted by the pname parameter of PatchParameterfv, GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv, and GetInteger64v.

public static final int
GL_PATCH_DEFAULT_OUTER_LEVEL

Accepted by the pname parameter of PatchParameterfv, GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv, and GetInteger64v.

public static final int
GL_PATCH_VERTICES

Accepted by the pname parameter of PatchParameteri, GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.

public static final int
GL_PATCHES

Accepted by the mode parameter of Begin and all vertex array functions that implicitly call Begin.

public static final int
GL_PROXY_TEXTURE_CUBE_MAP_ARRAY

Accepted by the target parameter of TexImage3D, TexSubImage3D, CompressedTeximage3D, CompressedTexSubImage3D and CopyTexSubImage3D.

public static final int
GL_SAMPLE_SHADING

Accepted by the cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_SAMPLER_CUBE_MAP_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW

Returned by the type parameter of GetActiveUniform.

public static final int
GL_TESS_CONTROL_OUTPUT_VERTICES

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_TESS_CONTROL_SHADER

Accepted by the type parameter of CreateShader and returned by the params parameter of GetShaderiv.

public static final int
GL_TESS_EVALUATION_SHADER

Accepted by the type parameter of CreateShader and returned by the params parameter of GetShaderiv.

public static final int
GL_TESS_GEN_MODE

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_TESS_GEN_POINT_MODE

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_TESS_GEN_SPACING

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_TESS_GEN_VERTEX_ORDER

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_TEXTURE_BINDING_CUBE_MAP_ARRAY

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv.

public static final int
GL_TEXTURE_CUBE_MAP_ARRAY

Accepted by the target parameter of TexParameteri, TexParameteriv, TexParameterf, TexParameterfv, BindTexture, and GenerateMipmap.

public static final int
GL_TRANSFORM_FEEDBACK

Accepted by the target parameter of BindTransformFeedback.

public static final int
GL_TRANSFORM_FEEDBACK_BINDING

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.

public static final int
GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.

public static final int
GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.

public static final int
GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER

Accepted by the pname parameter of GetActiveUniformBlockiv.

public static final int
GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER

Accepted by the pname parameter of GetActiveUniformBlockiv.

public static final int
GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY

Returned by the type parameter of GetActiveUniform.

Inherited from org.lwjgl.opengl.GL33:
GL_ANY_SAMPLES_PASSEDGL_INT_2_10_10_10_REVGL_MAX_DUAL_SOURCE_DRAW_BUFFERSGL_ONE_MINUS_SRC1_ALPHAGL_ONE_MINUS_SRC1_COLORGL_RGB10_A2UIGL_SAMPLER_BINDINGGL_SRC1_COLORGL_TEXTURE_SWIZZLE_AGL_TEXTURE_SWIZZLE_BGL_TEXTURE_SWIZZLE_GGL_TEXTURE_SWIZZLE_RGL_TEXTURE_SWIZZLE_RGBAGL_TIME_ELAPSEDGL_TIMESTAMPGL_VERTEX_ATTRIB_ARRAY_DIVISOR

Constructor Summary

AccessConstructor and Description
protected
GL40()

Method Summary

Modifier and TypeMethod and Description
public static void
glBeginQueryIndexed(int target, int
the index of the query target upon which to begin the query
index
,
int
the name of a query object
id
)

Begins a query object on an indexed target

public static void
glBindTransformFeedback(int
the target to which to bind the transform feedback object id. Must be:
TRANSFORM_FEEDBACK
target
,
int
the name of a transform feedback object
id
)

Binds a transform feedback object.

public static void
glBlendEquationi(int
the index of the draw buffer for which to set the blend equation
buf
,
int
how source and destination colors are combined. One of:
FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
mode
)

Specifies the equation used for both the RGB blend equation and the Alpha blend equation for the specified draw buffer.

public static void
glBlendEquationSeparatei(int
the index of the draw buffer for which to set the blend equations
buf
,
int
the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. One of:
FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
modeRGB
,
int
the alpha blend equation, how the alpha component of the source and destination colors are combined. One of:
FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
modeAlpha
)

Sets the RGB blend equation and the alpha blend equation separately for the specified draw buffer.

public static void
glBlendFunci(int
the index of the draw buffer for which to set the blend function
buf
,
int
how the red, green, blue, and alpha source blending factors are computed
sfactor
,
int
how the red, green, blue, and alpha destination blending factors are computed
dfactor
)

Specifies pixel arithmetic for the specified draw buffer.

public static void
glBlendFuncSeparatei(int
the index of the draw buffer for which to set the blend functions
buf
,
int
how the red, green, and blue blending factors are computed
srcRGB
,
int
how the red, green, and blue destination blending factors are computed
dstRGB
,
int
how the alpha source blending factor is computed
srcAlpha
,
int
how the alpha destination blending factor is computed
dstAlpha
)

Specifies pixel arithmetic for RGB and alpha components separately for the specified draw buffer.

public static void
glDeleteTransformFeedbacks(IntBuffer
an array of names of transform feedback objects to delete
ids
)

Deletes transform feedback objects.

public static void
glDeleteTransformFeedbacks(int id)

Deletes transform feedback objects.

public static void
public static void
glDrawArraysIndirect(int mode, ByteBuffer
a structure containing the draw parameters
indirect
)

Renders primitives from array data, taking parameters from memory.

public static void
glDrawArraysIndirect(int mode, long
a structure containing the draw parameters
indirect
)

Renders primitives from array data, taking parameters from memory.

public static void
glDrawArraysIndirect(int mode, IntBuffer
a structure containing the draw parameters
indirect
)

Renders primitives from array data, taking parameters from memory.

public static void
glDrawArraysIndirect(int mode, int[] indirect)

Array version of: DrawArraysIndirect

public static void
glDrawElementsIndirect(int mode, int
the type of data in the buffer bound to the ELEMENT_ARRAY_BUFFER binding. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
ByteBuffer
the address of a structure containing the draw parameters
indirect
)

Renders indexed primitives from array data, taking parameters from memory.

public static void
glDrawElementsIndirect(int mode, int
the type of data in the buffer bound to the ELEMENT_ARRAY_BUFFER binding. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
long
the address of a structure containing the draw parameters
indirect
)

Renders indexed primitives from array data, taking parameters from memory.

public static void
glDrawElementsIndirect(int mode, int
the type of data in the buffer bound to the ELEMENT_ARRAY_BUFFER binding. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
IntBuffer
the address of a structure containing the draw parameters
indirect
)

Renders indexed primitives from array data, taking parameters from memory.

public static void
glDrawElementsIndirect(int mode, int type, int[] indirect)

Array version of: DrawElementsIndirect

public static void
glDrawTransformFeedback(int mode, int
the name of a transform feedback object from which to retrieve a primitive count
id
)

Render primitives using a count derived from a transform feedback object.

public static void
glDrawTransformFeedbackStream(int mode, int
the name of a transform feedback object from which to retrieve a primitive count
id
,
int
the index of the transform feedback stream from which to retrieve a primitive count
stream
)

Renders primitives using a count derived from a specifed stream of a transform feedback object.

public static void
glEndQueryIndexed(int target, int
the index of the query target upon which to end the query
index
)

Ends a query object on an indexed target

public static void
glGenTransformFeedbacks(IntBuffer
an array of into which the reserved names will be written
ids
)

Reserves transform feedback object names.

public static int
glGenTransformFeedbacks()

Reserves transform feedback object names.

public static void
glGenTransformFeedbacks(int[] ids)

Array version of: GenTransformFeedbacks

public static void
glGetActiveSubroutineName(int
the name of the program containing the subroutine
program
,
int
the shader stage from which to query the subroutine name. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int
the index of the shader subroutine uniform
index
,
IntBuffer
a variable which is to receive the length of the shader subroutine uniform name
length
,
ByteBuffer
an array into which the name of the shader subroutine uniform will be written
name
)

Queries the name of an active shader subroutine.

public static String
glGetActiveSubroutineName(int
the name of the program containing the subroutine
program
,
int
the shader stage from which to query the subroutine name. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int
the index of the shader subroutine uniform
index
,
int
the size of the buffer whose address is given in name
bufsize
)

Queries the name of an active shader subroutine.

public static String
glGetActiveSubroutineName(int
the name of the program containing the subroutine
program
,
int
the shader stage from which to query the subroutine name. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int
the index of the shader subroutine uniform
index
)

Queries the name of an active shader subroutine.

public static void
glGetActiveSubroutineName(int program, int shadertype, int index, int[] length, ByteBuffer name)

Array version of: GetActiveSubroutineName

public static int
glGetActiveSubroutineUniformi(int
the name of the program containing the subroutine
program
,
int
the shader stage from which to query for the subroutine parameter. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int
the index of the shader subroutine uniform
index
,
int
the parameter of the shader subroutine uniform to query. One of:
NUM_COMPATIBLE_SUBROUTINESCOMPATIBLE_SUBROUTINESUNIFORM_SIZEUNIFORM_NAME_LENGTH
pname
)

Queries a property of an active shader subroutine uniform.

public static void
glGetActiveSubroutineUniformiv(int
the name of the program containing the subroutine
program
,
int
the shader stage from which to query for the subroutine parameter. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int
the index of the shader subroutine uniform
index
,
int
the parameter of the shader subroutine uniform to query. One of:
NUM_COMPATIBLE_SUBROUTINESCOMPATIBLE_SUBROUTINESUNIFORM_SIZEUNIFORM_NAME_LENGTH
pname
,
IntBuffer
the address of a buffer into which the queried value or values will be placed
values
)

Queries a property of an active shader subroutine uniform.

public static void
glGetActiveSubroutineUniformiv(int program, int shadertype, int index, int pname, int[] values)

Array version of: GetActiveSubroutineUniformiv

public static void
glGetActiveSubroutineUniformName(int
the name of the program containing the subroutine
program
,
int
the shader stage from which to query for the subroutine parameter. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int
the index of the shader subroutine uniform
index
,
IntBuffer
the address of a variable into which is written the number of characters copied into name
length
,
ByteBuffer
the address of a buffer that will receive the name of the specified shader subroutine uniform
name
)

Queries the name of an active shader subroutine uniform.

public static String
glGetActiveSubroutineUniformName(int
the name of the program containing the subroutine
program
,
int
the shader stage from which to query for the subroutine parameter. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int
the index of the shader subroutine uniform
index
,
int
the size of the buffer whose address is given in name
bufsize
)

Queries the name of an active shader subroutine uniform.

public static String
glGetActiveSubroutineUniformName(int
the name of the program containing the subroutine
program
,
int
the shader stage from which to query for the subroutine parameter. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int
the index of the shader subroutine uniform
index
)

Queries the name of an active shader subroutine uniform.

public static void
glGetActiveSubroutineUniformName(int program, int shadertype, int index, int[] length, ByteBuffer name)

Array version of: GetActiveSubroutineUniformName

public static int
glGetProgramStagei(int
the name of the program containing shader stage
program
,
int
the shader stage from which to query for the subroutine parameter. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int pname)

Retrieves properties of a program object corresponding to a specified shader stage.

public static void
glGetProgramStageiv(int
the name of the program containing shader stage
program
,
int
the shader stage from which to query for the subroutine parameter. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int pname, IntBuffer
a variable into which the queried value or values will be placed
values
)

Retrieves properties of a program object corresponding to a specified shader stage.

public static void
glGetProgramStageiv(int program, int shadertype, int pname, int[] values)

Array version of: GetProgramStageiv

public static int
glGetQueryIndexedi(int target, int
the index of the query object target
index
,
int
the symbolic name of a query object target parameter
pname
)

Returns parameters of an indexed query object target.

public static void
glGetQueryIndexediv(int target, int
the index of the query object target
index
,
int
the symbolic name of a query object target parameter
pname
,
IntBuffer
the requested data
params
)

Returns parameters of an indexed query object target.

public static void
glGetQueryIndexediv(int target, int index, int pname, int[] params)

Array version of: GetQueryIndexediv

public static int
glGetSubroutineIndex(int
the name of the program containing shader stage
program
,
int
the shader stage from which to query for subroutine function index. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
ByteBuffer
the name of the subroutine function whose index to query
name
)

Retrieves the index of a subroutine function of a given shader stage within a program.

public static int
glGetSubroutineIndex(int
the name of the program containing shader stage
program
,
int
the shader stage from which to query for subroutine function index. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
CharSequence
the name of the subroutine function whose index to query
name
)

Retrieves the index of a subroutine function of a given shader stage within a program.

public static int
glGetSubroutineUniformLocation(int
the name of the program containing shader stage
program
,
int
the shader stage from which to query for subroutine uniform index. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
ByteBuffer
the name of the subroutine uniform whose index to query.
name
)

Retrieves the location of a subroutine uniform of a given shader stage within a program.

public static int
glGetSubroutineUniformLocation(int
the name of the program containing shader stage
program
,
int
the shader stage from which to query for subroutine uniform index. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
CharSequence
the name of the subroutine uniform whose index to query.
name
)

Retrieves the location of a subroutine uniform of a given shader stage within a program.

public static double
glGetUniformd(int
the program object to be queried
program
,
int
the location of the uniform variable to be queried
location
)

Returns the double value(s) of a uniform variable.

public static void
glGetUniformdv(int
the program object to be queried
program
,
int
the location of the uniform variable to be queried
location
,
DoubleBuffer
the value of the specified uniform variable
params
)

Returns the double value(s) of a uniform variable.

public static void
glGetUniformdv(int program, int location, double[] params)

Array version of: GetUniformdv

public static int
glGetUniformSubroutineui(int
the shader stage from which to query for subroutine uniform index. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int
the location of the subroutine uniform
location
)

Retrieves the value of a subroutine uniform of a given shader stage of the current program.

public static void
glGetUniformSubroutineuiv(int
the shader stage from which to query for subroutine uniform index. One of:
VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
TESS_EVALUATION_SHADER
shadertype
,
int
the location of the subroutine uniform
location
,
IntBuffer
a variable to receive the value or values of the subroutine uniform
params
)

Retrieves the value of a subroutine uniform of a given shader stage of the current program.

public static void
glGetUniformSubroutineuiv(int shadertype, int location, int[] params)

Array version of: GetUniformSubroutineuiv

public static boolean
glIsTransformFeedback(int
a value that may be the name of a transform feedback object
id
)

Determines if a name corresponds to a transform feedback object.

public static void
glMinSampleShading(float
the rate at which samples are shaded within each covered pixel
value
)

Specifies the minimum rate at which sample shading takes place.

public static void
glPatchParameterfv(int
the name of the parameter to set. One of:
PATCH_DEFAULT_OUTER_LEVELPATCH_DEFAULT_INNER_LEVEL
pname
,
FloatBuffer
an array containing the new values for the parameter given by pname
values
)

Specifies an array of float values for the specified parameter for patch primitives.

public static void
glPatchParameterfv(int pname, float[] values)

Array version of: PatchParameterfv

public static void
glPatchParameteri(int
the name of the parameter to set. Must be:
PATCH_VERTICES
pname
,
int
the new value for the parameter given by pname
value
)

Specifies the integer value of the specified parameter for patch primitives.

public static void
glPauseTransformFeedback()

Pauses transform feedback operations for the currently bound transform feedback object.

public static void
glResumeTransformFeedback()

Resumes transform feedback operations for the currently bound transform feedback object.

public static void
glUniform1d(int
the location of the uniform variable to be modified
location
,
double
the uniform x value
x
)

Specifies the value of a double uniform variable for the current program object.

public static void
glUniform1dv(int
the location of the uniform variable to be modified
location
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single double uniform variable or a double uniform variable array for the current program object.

public static void
glUniform1dv(int location, double[] value)

Array version of: Uniform1dv

public static void
glUniform2d(int
the location of the uniform variable to be modified
location
,
double
the uniform x value
x
,
double
the uniform y value
y
)

Specifies the value of a dvec2 uniform variable for the current program object.

public static void
glUniform2dv(int
the location of the uniform variable to be modified
location
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single dvec2 uniform variable or a dvec2 uniform variable array for the current program object.

public static void
glUniform2dv(int location, double[] value)

Array version of: Uniform2dv

public static void
glUniform3d(int
the location of the uniform variable to be modified
location
,
double
the uniform x value
x
,
double
the uniform y value
y
,
double
the uniform z value
z
)

Specifies the value of a dvec3 uniform variable for the current program object.

public static void
glUniform3dv(int
the location of the uniform variable to be modified
location
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single dvec3 uniform variable or a dvec3 uniform variable array for the current program object.

public static void
glUniform3dv(int location, double[] value)

Array version of: Uniform3dv

public static void
glUniform4d(int
the location of the uniform variable to be modified
location
,
double
the uniform x value
x
,
double
the uniform y value
y
,
double
the uniform z value
z
,
double
the uniform w value
w
)

Specifies the value of a dvec4 uniform variable for the current program object.

public static void
glUniform4dv(int
the location of the uniform variable to be modified
location
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single dvec4 uniform variable or a dvec4 uniform variable array for the current program object.

public static void
glUniform4dv(int location, double[] value)

Array version of: Uniform4dv

public static void
glUniformMatrix2dv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform matrix variable
value
)

Specifies the value of a single dmat2 uniform variable or a dmat2 uniform variable array for the current program object.

public static void
glUniformMatrix2dv(int location, boolean transpose, double[] value)

Array version of: UniformMatrix2dv

public static void
glUniformMatrix2x3dv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform matrix variable
value
)

Specifies the value of a single dmat2x3 uniform variable or a dmat2x3 uniform variable array for the current program object.

public static void
glUniformMatrix2x3dv(int location, boolean transpose, double[] value)

Array version of: UniformMatrix2x3dv

public static void
glUniformMatrix2x4dv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform matrix variable
value
)

Specifies the value of a single dmat2x4 uniform variable or a dmat2x4 uniform variable array for the current program object.

public static void
glUniformMatrix2x4dv(int location, boolean transpose, double[] value)

Array version of: UniformMatrix2x4dv

public static void
glUniformMatrix3dv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform matrix variable
value
)

Specifies the value of a single dmat3 uniform variable or a dmat3 uniform variable array for the current program object.

public static void
glUniformMatrix3dv(int location, boolean transpose, double[] value)

Array version of: UniformMatrix3dv

public static void
glUniformMatrix3x2dv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform matrix variable
value
)

Specifies the value of a single dmat3x2 uniform variable or a dmat3x2 uniform variable array for the current program object.

public static void
glUniformMatrix3x2dv(int location, boolean transpose, double[] value)

Array version of: UniformMatrix3x2dv

public static void
glUniformMatrix3x4dv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform matrix variable
value
)

Specifies the value of a single dmat3x4 uniform variable or a dmat3x4 uniform variable array for the current program object.

public static void
glUniformMatrix3x4dv(int location, boolean transpose, double[] value)

Array version of: UniformMatrix3x4dv

public static void
glUniformMatrix4dv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform matrix variable
value
)

Specifies the value of a single dmat4 uniform variable or a dmat4 uniform variable array for the current program object.

public static void
glUniformMatrix4dv(int location, boolean transpose, double[] value)

Array version of: UniformMatrix4dv

public static void
glUniformMatrix4x2dv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform matrix variable
value
)

Specifies the value of a single dmat4x2 uniform variable or a dmat4x2 uniform variable array for the current program object.

public static void
glUniformMatrix4x2dv(int location, boolean transpose, double[] value)

Array version of: UniformMatrix4x2dv

public static void
glUniformMatrix4x3dv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
DoubleBuffer
a pointer to an array of count values that will be used to update the specified uniform matrix variable
value
)

Specifies the value of a single dmat4x3 uniform variable or a dmat4x3 uniform variable array for the current program object.

public static void
glUniformMatrix4x3dv(int location, boolean transpose, double[] value)

Array version of: UniformMatrix4x3dv

public static void
glUniformSubroutinesui(int shadertype, int index)

Loads active subroutine uniforms.

public static void
glUniformSubroutinesuiv(int shadertype, IntBuffer
an array holding the indices to load into the shader subroutine variables
indices
)

Loads active subroutine uniforms.

public static void
glUniformSubroutinesuiv(int shadertype, int[] indices)

Array version of: UniformSubroutinesuiv

public static void
nglDeleteTransformFeedbacks(int
the number of transform feedback objects to delete
n
,
long ids)

Unsafe version of: DeleteTransformFeedbacks

public static void
nglDrawArraysIndirect(int mode, long indirect)

Unsafe version of: DrawArraysIndirect

public static void
nglDrawElementsIndirect(int mode, int type, long indirect)

Unsafe version of: DrawElementsIndirect

public static void
nglGenTransformFeedbacks(int
the number of transform feedback object names to reserve
n
,
long ids)

Unsafe version of: GenTransformFeedbacks

public static void
nglGetActiveSubroutineName(int program, int shadertype, int index, int
the size of the buffer whose address is given in name
bufsize
,
long length, long name)

Unsafe version of: GetActiveSubroutineName

public static void
nglGetActiveSubroutineUniformiv(int program, int shadertype, int index, int pname, long values)

Unsafe version of: GetActiveSubroutineUniformiv

public static void
nglGetActiveSubroutineUniformName(int program, int shadertype, int index, int
the size of the buffer whose address is given in name
bufsize
,
long length, long name)

Unsafe version of: GetActiveSubroutineUniformName

public static void
nglGetProgramStageiv(int program, int shadertype, int pname, long values)

Unsafe version of: GetProgramStageiv

public static void
nglGetQueryIndexediv(int target, int index, int pname, long params)

Unsafe version of: GetQueryIndexediv

public static int
nglGetSubroutineIndex(int program, int shadertype, long name)

Unsafe version of: GetSubroutineIndex

public static int
nglGetSubroutineUniformLocation(int program, int shadertype, long name)

Unsafe version of: GetSubroutineUniformLocation

public static void
nglGetUniformdv(int program, int location, long params)

Unsafe version of: GetUniformdv

public static void
nglGetUniformSubroutineuiv(int shadertype, int location, long params)

Unsafe version of: GetUniformSubroutineuiv

public static void
nglPatchParameterfv(int pname, long values)

Unsafe version of: PatchParameterfv

public static void
nglUniform1dv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform1dv

public static void
nglUniform2dv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform2dv

public static void
nglUniform3dv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform3dv

public static void
nglUniform4dv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform4dv

public static void
nglUniformMatrix2dv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix2dv

public static void
nglUniformMatrix2x3dv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix2x3dv

public static void
nglUniformMatrix2x4dv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix2x4dv

public static void
nglUniformMatrix3dv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix3dv

public static void
nglUniformMatrix3x2dv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix3x2dv

public static void
nglUniformMatrix3x4dv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix3x4dv

public static void
nglUniformMatrix4dv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix4dv

public static void
nglUniformMatrix4x2dv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix4x2dv

public static void
nglUniformMatrix4x3dv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix4x3dv

public static void
nglUniformSubroutinesuiv(int shadertype, int
the number of uniform indices stored in indices
count
,
long indices)

Unsafe version of: UniformSubroutinesuiv

Inherited from org.lwjgl.opengl.GL33:
glBindFragDataLocationIndexedglBindFragDataLocationIndexedglBindSamplerglColorP3uiglColorP3uivglColorP3uivglColorP4uiglColorP4uivglColorP4uivglDeleteSamplersglDeleteSamplersglDeleteSamplersglGenSamplersglGenSamplersglGenSamplersglGetFragDataIndexglGetFragDataIndexglGetQueryObjecti64glGetQueryObjecti64vglGetQueryObjecti64vglGetQueryObjecti64vglGetQueryObjectui64glGetQueryObjectui64vglGetQueryObjectui64vglGetQueryObjectui64vglGetSamplerParameterfglGetSamplerParameterfvglGetSamplerParameterfvglGetSamplerParameteriglGetSamplerParameterIiglGetSamplerParameterIivglGetSamplerParameterIivglGetSamplerParameterIuiglGetSamplerParameterIuivglGetSamplerParameterIuivglGetSamplerParameterivglGetSamplerParameterivglIsSamplerglMultiTexCoordP1uiglMultiTexCoordP1uivglMultiTexCoordP1uivglMultiTexCoordP2uiglMultiTexCoordP2uivglMultiTexCoordP2uivglMultiTexCoordP3uiglMultiTexCoordP3uivglMultiTexCoordP3uivglMultiTexCoordP4uiglMultiTexCoordP4uivglMultiTexCoordP4uivglNormalP3uiglNormalP3uivglNormalP3uivglQueryCounterglSamplerParameterfglSamplerParameterfvglSamplerParameterfvglSamplerParameteriglSamplerParameterIivglSamplerParameterIivglSamplerParameterIuivglSamplerParameterIuivglSamplerParameterivglSamplerParameterivglSecondaryColorP3uiglSecondaryColorP3uivglSecondaryColorP3uivglTexCoordP1uiglTexCoordP1uivglTexCoordP1uivglTexCoordP2uiglTexCoordP2uivglTexCoordP2uivglTexCoordP3uiglTexCoordP3uivglTexCoordP3uivglTexCoordP4uiglTexCoordP4uivglTexCoordP4uivglVertexAttribDivisorglVertexAttribP1uiglVertexAttribP1uivglVertexAttribP1uivglVertexAttribP2uiglVertexAttribP2uivglVertexAttribP2uivglVertexAttribP3uiglVertexAttribP3uivglVertexAttribP3uivglVertexAttribP4uiglVertexAttribP4uivglVertexAttribP4uivglVertexP2uiglVertexP2uivglVertexP2uivglVertexP3uiglVertexP3uivglVertexP3uivglVertexP4uiglVertexP4uivglVertexP4uivnglBindFragDataLocationIndexednglColorP3uivnglColorP4uivnglDeleteSamplersnglGenSamplersnglGetFragDataIndexnglGetQueryObjecti64vnglGetQueryObjectui64vnglGetSamplerParameterfvnglGetSamplerParameterIivnglGetSamplerParameterIuivnglGetSamplerParameterivnglMultiTexCoordP1uivnglMultiTexCoordP2uivnglMultiTexCoordP3uivnglMultiTexCoordP4uivnglNormalP3uivnglSamplerParameterfvnglSamplerParameterIivnglSamplerParameterIuivnglSamplerParameterivnglSecondaryColorP3uivnglTexCoordP1uivnglTexCoordP2uivnglTexCoordP3uivnglTexCoordP4uivnglVertexAttribP1uivnglVertexAttribP2uivnglVertexAttribP3uivnglVertexAttribP4uivnglVertexP2uivnglVertexP3uivnglVertexP4uiv