Class GL40
- java.lang.Object
-
- org.lwjgl.opengl.GL40
-
public class GL40 extends java.lang.ObjectThe core OpenGL 4.0 functionality. OpenGL 4.0 implementations support revision 4.00 of the OpenGL Shading Language.Extensions promoted to core in this release:
-
-
Field Summary
Fields Modifier and Type Field and Description static intGL_ACTIVE_SUBROUTINE_MAX_LENGTH
GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS
GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH
GL_ACTIVE_SUBROUTINE_UNIFORMS
GL_ACTIVE_SUBROUTINESAccepted by thepnameparameter of GetProgramStageiv.static intGL_COMPATIBLE_SUBROUTINESAccepted by thepnameparameter of GetActiveSubroutineUniformiv.static intGL_DOUBLE_MAT2
GL_DOUBLE_MAT2x3
GL_DOUBLE_MAT2x4
GL_DOUBLE_MAT3
GL_DOUBLE_MAT3x2
GL_DOUBLE_MAT3x4
GL_DOUBLE_MAT4
GL_DOUBLE_MAT4x2
GL_DOUBLE_MAT4x3
GL_DOUBLE_VEC2
GL_DOUBLE_VEC3
GL_DOUBLE_VEC4Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static intGL_DRAW_INDIRECT_BUFFERAccepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, MapBufferRange, FlushMappedBufferRange, GetBufferParameteriv, and CopyBufferSubData.static intGL_DRAW_INDIRECT_BUFFER_BINDINGAccepted by thevalueparameter of GetIntegerv, GetBooleanv, GetFloatv, and GetDoublev.static intGL_FRACTIONAL_EVEN
GL_FRACTIONAL_ODDReturned by GetProgramiv whenpnameis TESS_GEN_SPACING.static intGL_FRAGMENT_INTERPOLATION_OFFSET_BITSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_GEOMETRY_SHADER_INVOCATIONSAccepted by thepnameparameter of GetProgramiv.static intGL_INT_SAMPLER_CUBE_MAP_ARRAYReturned by thetypeparameter of GetActiveUniform.static intGL_ISOLINESReturned by GetProgramiv whenpnameis TESS_GEN_MODE.static intGL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS
GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTSAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.static intGL_MAX_FRAGMENT_INTERPOLATION_OFFSET
GL_MAX_GEOMETRY_SHADER_INVOCATIONSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_MAX_PATCH_VERTICESAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.static intGL_MAX_PROGRAM_TEXTURE_GATHER_OFFSETAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_MAX_SUBROUTINE_UNIFORM_LOCATIONS
GL_MAX_SUBROUTINESAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_MAX_TESS_CONTROL_INPUT_COMPONENTS
GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS
GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS
GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS
GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS
GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS
GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS
GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS
GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS
GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS
GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS
GL_MAX_TESS_GEN_LEVEL
GL_MAX_TESS_PATCH_COMPONENTSAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.static intGL_MAX_TRANSFORM_FEEDBACK_BUFFERS
GL_MAX_VERTEX_STREAMSAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static intGL_MIN_FRAGMENT_INTERPOLATION_OFFSETAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_MIN_PROGRAM_TEXTURE_GATHER_OFFSETAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_MIN_SAMPLE_SHADING_VALUEAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static intGL_NUM_COMPATIBLE_SUBROUTINESAccepted by thepnameparameter of GetActiveSubroutineUniformiv.static intGL_PATCH_DEFAULT_INNER_LEVEL
GL_PATCH_DEFAULT_OUTER_LEVELAccepted by thepnameparameter of PatchParameterfv, GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv, and GetInteger64v.static intGL_PATCH_VERTICESAccepted by thepnameparameter of PatchParameteri, GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.static intGL_PATCHESAccepted by themodeparameter of Begin and all vertex array functions that implicitly call Begin.static intGL_PROXY_TEXTURE_CUBE_MAP_ARRAYAccepted by thetargetparameter of TexImage3D, TexSubImage3D, CompressedTeximage3D, CompressedTexSubImage3D and CopyTexSubImage3D.static intGL_SAMPLE_SHADINGAccepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_SAMPLER_CUBE_MAP_ARRAY
GL_SAMPLER_CUBE_MAP_ARRAY_SHADOWReturned by thetypeparameter of GetActiveUniform.static intGL_TESS_CONTROL_OUTPUT_VERTICESAccepted by thepnameparameter of GetProgramiv.static intGL_TESS_CONTROL_SHADER
GL_TESS_EVALUATION_SHADERAccepted by thetypeparameter of CreateShader and returned by theparamsparameter of GetShaderiv.static intGL_TESS_GEN_MODE
GL_TESS_GEN_POINT_MODE
GL_TESS_GEN_SPACING
GL_TESS_GEN_VERTEX_ORDERAccepted by thepnameparameter of GetProgramiv.static intGL_TEXTURE_BINDING_CUBE_MAP_ARRAYAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv.static intGL_TEXTURE_CUBE_MAP_ARRAYAccepted by thetargetparameter of TexParameteri, TexParameteriv, TexParameterf, TexParameterfv, BindTexture, and GenerateMipmap.static intGL_TRANSFORM_FEEDBACKAccepted by thetargetparameter of BindTransformFeedback.static intGL_TRANSFORM_FEEDBACK_BINDING
GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE
GL_TRANSFORM_FEEDBACK_BUFFER_PAUSEDAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static intGL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER
GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADERAccepted by thepnameparameter of GetActiveUniformBlockiv.static intGL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAYReturned by thetypeparameter of GetActiveUniform.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglBeginQueryIndexed(int target, int index, int id)static voidglBindTransformFeedback(int target, int id)static voidglBlendEquationi(int buf, int mode)static voidglBlendEquationSeparatei(int buf, int modeRGB, int modeAlpha)static voidglBlendFunci(int buf, int sfactor, int dfactor)static voidglBlendFuncSeparatei(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)static voidglDeleteTransformFeedbacks(int id)static voidglDeleteTransformFeedbacks(int[] ids)static voidglDeleteTransformFeedbacks(java.nio.IntBuffer ids)static voidglDrawArraysIndirect(int mode, java.nio.ByteBuffer indirect)static voidglDrawArraysIndirect(int mode, int[] indirect)static voidglDrawArraysIndirect(int mode, java.nio.IntBuffer indirect)static voidglDrawArraysIndirect(int mode, long indirect)static voidglDrawElementsIndirect(int mode, int type, java.nio.ByteBuffer indirect)static voidglDrawElementsIndirect(int mode, int type, int[] indirect)static voidglDrawElementsIndirect(int mode, int type, java.nio.IntBuffer indirect)static voidglDrawElementsIndirect(int mode, int type, long indirect)static voidglDrawTransformFeedback(int mode, int id)static voidglDrawTransformFeedbackStream(int mode, int id, int stream)static voidglEndQueryIndexed(int target, int index)static intglGenTransformFeedbacks()static voidglGenTransformFeedbacks(int[] ids)static voidglGenTransformFeedbacks(java.nio.IntBuffer ids)static java.lang.StringglGetActiveSubroutineName(int program, int shadertype, int index)static java.lang.StringglGetActiveSubroutineName(int program, int shadertype, int index, int bufsize)static voidglGetActiveSubroutineName(int program, int shadertype, int index, int[] length, java.nio.ByteBuffer name)static voidglGetActiveSubroutineName(int program, int shadertype, int index, java.nio.IntBuffer length, java.nio.ByteBuffer name)static intglGetActiveSubroutineUniformi(int program, int shadertype, int index, int pname)static voidglGetActiveSubroutineUniformiv(int program, int shadertype, int index, int pname, int[] values)static voidglGetActiveSubroutineUniformiv(int program, int shadertype, int index, int pname, java.nio.IntBuffer values)static java.lang.StringglGetActiveSubroutineUniformName(int program, int shadertype, int index)static java.lang.StringglGetActiveSubroutineUniformName(int program, int shadertype, int index, int bufsize)static voidglGetActiveSubroutineUniformName(int program, int shadertype, int index, int[] length, java.nio.ByteBuffer name)static voidglGetActiveSubroutineUniformName(int program, int shadertype, int index, java.nio.IntBuffer length, java.nio.ByteBuffer name)static intglGetProgramStagei(int program, int shadertype, int pname)static voidglGetProgramStageiv(int program, int shadertype, int pname, int[] values)static voidglGetProgramStageiv(int program, int shadertype, int pname, java.nio.IntBuffer values)static intglGetQueryIndexedi(int target, int index, int pname)static voidglGetQueryIndexediv(int target, int index, int pname, int[] params)static voidglGetQueryIndexediv(int target, int index, int pname, java.nio.IntBuffer params)static intglGetSubroutineIndex(int program, int shadertype, java.nio.ByteBuffer name)static intglGetSubroutineIndex(int program, int shadertype, java.lang.CharSequence name)static intglGetSubroutineUniformLocation(int program, int shadertype, java.nio.ByteBuffer name)static intglGetSubroutineUniformLocation(int program, int shadertype, java.lang.CharSequence name)static doubleglGetUniformd(int program, int location)static voidglGetUniformdv(int program, int location, double[] params)static voidglGetUniformdv(int program, int location, java.nio.DoubleBuffer params)static intglGetUniformSubroutineui(int shadertype, int location)static voidglGetUniformSubroutineuiv(int shadertype, int location, int[] params)static voidglGetUniformSubroutineuiv(int shadertype, int location, java.nio.IntBuffer params)static booleanglIsTransformFeedback(int id)static voidglMinSampleShading(float value)static voidglPatchParameterfv(int pname, float[] values)static voidglPatchParameterfv(int pname, java.nio.FloatBuffer values)static voidglPatchParameteri(int pname, int value)static voidglPauseTransformFeedback()static voidglResumeTransformFeedback()static voidglUniform1d(int location, double x)static voidglUniform1dv(int location, double[] value)static voidglUniform1dv(int location, java.nio.DoubleBuffer value)static voidglUniform2d(int location, double x, double y)static voidglUniform2dv(int location, double[] value)static voidglUniform2dv(int location, java.nio.DoubleBuffer value)static voidglUniform3d(int location, double x, double y, double z)static voidglUniform3dv(int location, double[] value)static voidglUniform3dv(int location, java.nio.DoubleBuffer value)static voidglUniform4d(int location, double x, double y, double z, double w)static voidglUniform4dv(int location, double[] value)static voidglUniform4dv(int location, java.nio.DoubleBuffer value)static voidglUniformMatrix2dv(int location, boolean transpose, double[] value)static voidglUniformMatrix2dv(int location, boolean transpose, java.nio.DoubleBuffer value)static voidglUniformMatrix2x3dv(int location, boolean transpose, double[] value)static voidglUniformMatrix2x3dv(int location, boolean transpose, java.nio.DoubleBuffer value)static voidglUniformMatrix2x4dv(int location, boolean transpose, double[] value)static voidglUniformMatrix2x4dv(int location, boolean transpose, java.nio.DoubleBuffer value)static voidglUniformMatrix3dv(int location, boolean transpose, double[] value)static voidglUniformMatrix3dv(int location, boolean transpose, java.nio.DoubleBuffer value)static voidglUniformMatrix3x2dv(int location, boolean transpose, double[] value)static voidglUniformMatrix3x2dv(int location, boolean transpose, java.nio.DoubleBuffer value)static voidglUniformMatrix3x4dv(int location, boolean transpose, double[] value)static voidglUniformMatrix3x4dv(int location, boolean transpose, java.nio.DoubleBuffer value)static voidglUniformMatrix4dv(int location, boolean transpose, double[] value)static voidglUniformMatrix4dv(int location, boolean transpose, java.nio.DoubleBuffer value)static voidglUniformMatrix4x2dv(int location, boolean transpose, double[] value)static voidglUniformMatrix4x2dv(int location, boolean transpose, java.nio.DoubleBuffer value)static voidglUniformMatrix4x3dv(int location, boolean transpose, double[] value)static voidglUniformMatrix4x3dv(int location, boolean transpose, java.nio.DoubleBuffer value)static voidglUniformSubroutinesui(int shadertype, int index)static voidglUniformSubroutinesuiv(int shadertype, int[] indices)static voidglUniformSubroutinesuiv(int shadertype, java.nio.IntBuffer indices)
-
-
-
Field Detail
-
GL_DRAW_INDIRECT_BUFFER
Accepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, MapBufferRange, FlushMappedBufferRange, GetBufferParameteriv, and CopyBufferSubData.
-
GL_DRAW_INDIRECT_BUFFER_BINDING
Accepted by thevalueparameter of GetIntegerv, GetBooleanv, GetFloatv, and GetDoublev.
-
GL_GEOMETRY_SHADER_INVOCATIONS
Accepted by thepnameparameter of GetProgramiv.
-
GL_MAX_GEOMETRY_SHADER_INVOCATIONS, GL_MIN_FRAGMENT_INTERPOLATION_OFFSET, GL_MAX_FRAGMENT_INTERPOLATION_OFFSET, GL_FRAGMENT_INTERPOLATION_OFFSET_BITS
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
-
GL_DOUBLE_VEC2, GL_DOUBLE_VEC3, GL_DOUBLE_VEC4, GL_DOUBLE_MAT2, GL_DOUBLE_MAT3, GL_DOUBLE_MAT4, GL_DOUBLE_MAT2x3, GL_DOUBLE_MAT2x4, GL_DOUBLE_MAT3x2, GL_DOUBLE_MAT3x4, GL_DOUBLE_MAT4x2, GL_DOUBLE_MAT4x3
Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.
-
GL_SAMPLE_SHADING
Accepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_MIN_SAMPLE_SHADING_VALUE
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
-
GL_ACTIVE_SUBROUTINES, GL_ACTIVE_SUBROUTINE_UNIFORMS, GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS, GL_ACTIVE_SUBROUTINE_MAX_LENGTH, GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH
Accepted by thepnameparameter of GetProgramStageiv.
-
GL_MAX_SUBROUTINES, GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
-
GL_NUM_COMPATIBLE_SUBROUTINES, GL_COMPATIBLE_SUBROUTINES
Accepted by thepnameparameter of GetActiveSubroutineUniformiv.
-
GL_PATCHES
Accepted by themodeparameter of Begin and all vertex array functions that implicitly call Begin.
-
GL_PATCH_VERTICES
Accepted by thepnameparameter of PatchParameteri, GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
-
GL_PATCH_DEFAULT_INNER_LEVEL, GL_PATCH_DEFAULT_OUTER_LEVEL
Accepted by thepnameparameter of PatchParameterfv, GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv, and GetInteger64v.
-
GL_TESS_CONTROL_OUTPUT_VERTICES, GL_TESS_GEN_MODE, GL_TESS_GEN_SPACING, GL_TESS_GEN_VERTEX_ORDER, GL_TESS_GEN_POINT_MODE
Accepted by thepnameparameter of GetProgramiv.
-
GL_ISOLINES
Returned by GetProgramiv whenpnameis TESS_GEN_MODE.
-
GL_FRACTIONAL_ODD, GL_FRACTIONAL_EVEN
Returned by GetProgramiv whenpnameis TESS_GEN_SPACING.
-
GL_MAX_PATCH_VERTICES, GL_MAX_TESS_GEN_LEVEL, GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS, GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS, GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS, GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS, GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS, GL_MAX_TESS_PATCH_COMPONENTS, GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS, GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS, GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS, GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS, GL_MAX_TESS_CONTROL_INPUT_COMPONENTS, GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS, GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS, GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
-
GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER, GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER
Accepted by thepnameparameter of GetActiveUniformBlockiv.
-
GL_TESS_EVALUATION_SHADER, GL_TESS_CONTROL_SHADER
Accepted by thetypeparameter of CreateShader and returned by theparamsparameter of GetShaderiv.
-
GL_TEXTURE_CUBE_MAP_ARRAY
Accepted by thetargetparameter of TexParameteri, TexParameteriv, TexParameterf, TexParameterfv, BindTexture, and GenerateMipmap.
-
GL_TEXTURE_BINDING_CUBE_MAP_ARRAY
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv.
-
GL_PROXY_TEXTURE_CUBE_MAP_ARRAY
Accepted by thetargetparameter of TexImage3D, TexSubImage3D, CompressedTeximage3D, CompressedTexSubImage3D and CopyTexSubImage3D.
-
GL_SAMPLER_CUBE_MAP_ARRAY, GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW, GL_INT_SAMPLER_CUBE_MAP_ARRAY, GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY
Returned by thetypeparameter of GetActiveUniform.
-
GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET, GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_TRANSFORM_FEEDBACK
Accepted by thetargetparameter of BindTransformFeedback.
-
GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED, GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE, GL_TRANSFORM_FEEDBACK_BINDING, GL_MAX_TRANSFORM_FEEDBACK_BUFFERS, GL_MAX_VERTEX_STREAMS
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
-
-
Method Detail
-
glBlendEquationi
public static void glBlendEquationi(int buf, int mode)Specifies the equation used for both the RGB blend equation and the Alpha blend equation for the specified draw buffer.- Parameters:
buf- the index of the draw buffer for which to set the blend equationmode- how source and destination colors are combined. One of:FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
-
glBlendEquationSeparatei
public static void glBlendEquationSeparatei(int buf, int modeRGB, int modeAlpha)Sets the RGB blend equation and the alpha blend equation separately for the specified draw buffer.- Parameters:
buf- the index of the draw buffer for which to set the blend equationsmodeRGB- 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_SUBTRACTMINMAXmodeAlpha- the alpha blend equation, how the alpha component of the source and destination colors are combined. One of:FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
-
glBlendFunci
public static void glBlendFunci(int buf, int sfactor, int dfactor)Specifies pixel arithmetic for the specified draw buffer.- Parameters:
buf- the index of the draw buffer for which to set the blend functionsfactor- how the red, green, blue, and alpha source blending factors are computeddfactor- how the red, green, blue, and alpha destination blending factors are computed
-
glBlendFuncSeparatei
public static void glBlendFuncSeparatei(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)Specifies pixel arithmetic for RGB and alpha components separately for the specified draw buffer.- Parameters:
buf- the index of the draw buffer for which to set the blend functionssrcRGB- how the red, green, and blue blending factors are computeddstRGB- how the red, green, and blue destination blending factors are computedsrcAlpha- how the alpha source blending factor is computeddstAlpha- how the alpha destination blending factor is computed
-
glDrawArraysIndirect
public static void glDrawArraysIndirect(int mode, java.nio.ByteBuffer indirect) public static void glDrawArraysIndirect(int mode, long indirect) public static void glDrawArraysIndirect(int mode, java.nio.IntBuffer indirect)Renders primitives from array data, taking parameters from memory.glDrawArraysIndirectbehaves similarly toDrawArraysInstancedBaseInstance, except that the parameters to glDrawArraysInstancedBaseInstance are stored in memory at the address given byindirect.The parameters addressed by
indirectare packed into a structure that takes the form (in C):typedef struct { uint count; uint primCount; uint first; uint baseInstance; // must be 0 unless OpenGL 4.2 is supported } DrawArraysIndirectCommand; const DrawArraysIndirectCommand *cmd = (const DrawArraysIndirectCommand *)indirect; glDrawArraysInstancedBaseInstance(mode, cmd->first, cmd->count, cmd->primCount, cmd->baseInstance);- Parameters:
mode- what kind of primitives to render. One of:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESindirect- a structure containing the draw parameters
-
glDrawElementsIndirect
public static void glDrawElementsIndirect(int mode, int type, java.nio.ByteBuffer indirect) public static void glDrawElementsIndirect(int mode, int type, long indirect) public static void glDrawElementsIndirect(int mode, int type, java.nio.IntBuffer indirect)Renders indexed primitives from array data, taking parameters from memory.glDrawElementsIndirectbehaves similarly toDrawElementsInstancedBaseVertexBaseInstance, execpt that the parameters to glDrawElementsInstancedBaseVertexBaseInstance are stored in memory at the address given byindirect.The parameters addressed by
indirectare packed into a structure that takes the form (in C):typedef struct { uint count; uint primCount; uint firstIndex; uint baseVertex; uint baseInstance; } DrawElementsIndirectCommand;glDrawElementsIndirectis equivalent to:void glDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect) { const DrawElementsIndirectCommand *cmd = (const DrawElementsIndirectCommand *)indirect; glDrawElementsInstancedBaseVertexBaseInstance( mode, cmd->count, type, cmd->firstIndex + size-of-type, cmd->primCount, cmd->baseVertex, cmd->baseInstance ); }- 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 data in the buffer bound to theELEMENT_ARRAY_BUFFERbinding. One of:UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INTindirect- the address of a structure containing the draw parameters
-
glUniform1d
public static void glUniform1d(int location, double x)Specifies the value of a double uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedx- the uniform x value
-
glUniform2d
public static void glUniform2d(int location, double x, double y)Specifies the value of a dvec2 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedx- the uniform x valuey- the uniform y value
-
glUniform3d
public static void glUniform3d(int location, double x, double y, double z)Specifies the value of a dvec3 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedx- the uniform x valuey- the uniform y valuez- the uniform z value
-
glUniform4d
public static void glUniform4d(int location, double x, double y, double z, double w)Specifies the value of a dvec4 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedx- the uniform x valuey- the uniform y valuez- the uniform z valuew- the uniform w value
-
glUniform1dv
public static void glUniform1dv(int location, java.nio.DoubleBuffer value)Specifies the value of a single double uniform variable or a double uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniform2dv
public static void glUniform2dv(int location, java.nio.DoubleBuffer value)Specifies the value of a single dvec2 uniform variable or a dvec2 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniform3dv
public static void glUniform3dv(int location, java.nio.DoubleBuffer value)Specifies the value of a single dvec3 uniform variable or a dvec3 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniform4dv
public static void glUniform4dv(int location, java.nio.DoubleBuffer value)Specifies the value of a single dvec4 uniform variable or a dvec4 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniformMatrix2dv
public static void glUniformMatrix2dv(int location, boolean transpose, java.nio.DoubleBuffer value)Specifies the value of a single dmat2 uniform variable or a dmat2 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
glUniformMatrix3dv
public static void glUniformMatrix3dv(int location, boolean transpose, java.nio.DoubleBuffer value)Specifies the value of a single dmat3 uniform variable or a dmat3 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
glUniformMatrix4dv
public static void glUniformMatrix4dv(int location, boolean transpose, java.nio.DoubleBuffer value)Specifies the value of a single dmat4 uniform variable or a dmat4 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
glUniformMatrix2x3dv
public static void glUniformMatrix2x3dv(int location, boolean transpose, java.nio.DoubleBuffer value)Specifies the value of a single dmat2x3 uniform variable or a dmat2x3 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
glUniformMatrix2x4dv
public static void glUniformMatrix2x4dv(int location, boolean transpose, java.nio.DoubleBuffer value)Specifies the value of a single dmat2x4 uniform variable or a dmat2x4 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
glUniformMatrix3x2dv
public static void glUniformMatrix3x2dv(int location, boolean transpose, java.nio.DoubleBuffer value)Specifies the value of a single dmat3x2 uniform variable or a dmat3x2 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
glUniformMatrix3x4dv
public static void glUniformMatrix3x4dv(int location, boolean transpose, java.nio.DoubleBuffer value)Specifies the value of a single dmat3x4 uniform variable or a dmat3x4 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
glUniformMatrix4x2dv
public static void glUniformMatrix4x2dv(int location, boolean transpose, java.nio.DoubleBuffer value)Specifies the value of a single dmat4x2 uniform variable or a dmat4x2 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
glUniformMatrix4x3dv
public static void glUniformMatrix4x3dv(int location, boolean transpose, java.nio.DoubleBuffer value)Specifies the value of a single dmat4x3 uniform variable or a dmat4x3 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
glGetUniformdv
public static void glGetUniformdv(int program, int location, java.nio.DoubleBuffer params)Returns the double value(s) of a uniform variable.- Parameters:
program- the program object to be queriedlocation- the location of the uniform variable to be queriedparams- the value of the specified uniform variable
-
glGetUniformd
public static double glGetUniformd(int program, int location)Returns the double value(s) of a uniform variable.- Parameters:
program- the program object to be queriedlocation- the location of the uniform variable to be queried
-
glMinSampleShading
public static void glMinSampleShading(float value)
Specifies the minimum rate at which sample shading takes place.- Parameters:
value- the rate at which samples are shaded within each covered pixel
-
glGetSubroutineUniformLocation
public static int glGetSubroutineUniformLocation(int program, int shadertype, java.nio.ByteBuffer name) public static int glGetSubroutineUniformLocation(int program, int shadertype, java.lang.CharSequence name)Retrieves the location of a subroutine uniform of a given shader stage within a program.- Parameters:
program- the name of the program containing shader stageshadertype- the shader stage from which to query for subroutine uniform index. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERname- the name of the subroutine uniform whose index to query.
-
glGetSubroutineIndex
public static int glGetSubroutineIndex(int program, int shadertype, java.nio.ByteBuffer name) public static int glGetSubroutineIndex(int program, int shadertype, java.lang.CharSequence name)Retrieves the index of a subroutine function of a given shader stage within a program.- Parameters:
program- the name of the program containing shader stageshadertype- the shader stage from which to query for subroutine function index. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERname- the name of the subroutine function whose index to query
-
glGetActiveSubroutineUniformiv
public static void glGetActiveSubroutineUniformiv(int program, int shadertype, int index, int pname, java.nio.IntBuffer values)Queries a property of an active shader subroutine uniform.- Parameters:
program- the name of the program containing the subroutineshadertype- the shader stage from which to query for the subroutine parameter. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERindex- the index of the shader subroutine uniformpname- the parameter of the shader subroutine uniform to query. One of:NUM_COMPATIBLE_SUBROUTINESCOMPATIBLE_SUBROUTINESUNIFORM_SIZEUNIFORM_NAME_LENGTHvalues- the address of a buffer into which the queried value or values will be placed
-
glGetActiveSubroutineUniformi
public static int glGetActiveSubroutineUniformi(int program, int shadertype, int index, int pname)Queries a property of an active shader subroutine uniform.- Parameters:
program- the name of the program containing the subroutineshadertype- the shader stage from which to query for the subroutine parameter. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERindex- the index of the shader subroutine uniformpname- the parameter of the shader subroutine uniform to query. One of:NUM_COMPATIBLE_SUBROUTINESCOMPATIBLE_SUBROUTINESUNIFORM_SIZEUNIFORM_NAME_LENGTH
-
glGetActiveSubroutineUniformName
public static void glGetActiveSubroutineUniformName(int program, int shadertype, int index, java.nio.IntBuffer length, java.nio.ByteBuffer name)Queries the name of an active shader subroutine uniform.- Parameters:
program- the name of the program containing the subroutineshadertype- the shader stage from which to query for the subroutine parameter. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERindex- the index of the shader subroutine uniformlength- the address of a variable into which is written the number of characters copied intonamename- the address of a buffer that will receive the name of the specified shader subroutine uniform
-
glGetActiveSubroutineUniformName
public static java.lang.String glGetActiveSubroutineUniformName(int program, int shadertype, int index, int bufsize)Queries the name of an active shader subroutine uniform.- Parameters:
program- the name of the program containing the subroutineshadertype- the shader stage from which to query for the subroutine parameter. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERindex- the index of the shader subroutine uniformbufsize- the size of the buffer whose address is given inname
-
glGetActiveSubroutineUniformName
public static java.lang.String glGetActiveSubroutineUniformName(int program, int shadertype, int index)Queries the name of an active shader subroutine uniform.- Parameters:
program- the name of the program containing the subroutineshadertype- the shader stage from which to query for the subroutine parameter. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERindex- the index of the shader subroutine uniform
-
glGetActiveSubroutineName
public static void glGetActiveSubroutineName(int program, int shadertype, int index, java.nio.IntBuffer length, java.nio.ByteBuffer name)Queries the name of an active shader subroutine.- Parameters:
program- the name of the program containing the subroutineshadertype- the shader stage from which to query the subroutine name. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERindex- the index of the shader subroutine uniformlength- a variable which is to receive the length of the shader subroutine uniform namename- an array into which the name of the shader subroutine uniform will be written
-
glGetActiveSubroutineName
public static java.lang.String glGetActiveSubroutineName(int program, int shadertype, int index, int bufsize)Queries the name of an active shader subroutine.- Parameters:
program- the name of the program containing the subroutineshadertype- the shader stage from which to query the subroutine name. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERindex- the index of the shader subroutine uniformbufsize- the size of the buffer whose address is given inname
-
glGetActiveSubroutineName
public static java.lang.String glGetActiveSubroutineName(int program, int shadertype, int index)Queries the name of an active shader subroutine.- Parameters:
program- the name of the program containing the subroutineshadertype- the shader stage from which to query the subroutine name. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERindex- the index of the shader subroutine uniform
-
glUniformSubroutinesuiv
public static void glUniformSubroutinesuiv(int shadertype, java.nio.IntBuffer indices)Loads active subroutine uniforms.- Parameters:
shadertype- the shader stage to update. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERindices- an array holding the indices to load into the shader subroutine variables
-
glUniformSubroutinesui
public static void glUniformSubroutinesui(int shadertype, int index)Loads active subroutine uniforms.- Parameters:
shadertype- the shader stage to update. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADER
-
glGetUniformSubroutineuiv
public static void glGetUniformSubroutineuiv(int shadertype, int location, java.nio.IntBuffer params)Retrieves the value of a subroutine uniform of a given shader stage of the current program.- Parameters:
shadertype- the shader stage from which to query for subroutine uniform index. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERlocation- the location of the subroutine uniformparams- a variable to receive the value or values of the subroutine uniform
-
glGetUniformSubroutineui
public static int glGetUniformSubroutineui(int shadertype, int location)Retrieves the value of a subroutine uniform of a given shader stage of the current program.- Parameters:
shadertype- the shader stage from which to query for subroutine uniform index. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERlocation- the location of the subroutine uniform
-
glGetProgramStageiv
public static void glGetProgramStageiv(int program, int shadertype, int pname, java.nio.IntBuffer values)Retrieves properties of a program object corresponding to a specified shader stage.- Parameters:
program- the name of the program containing shader stageshadertype- the shader stage from which to query for the subroutine parameter. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERpname- the parameter of the shader to query. One of:ACTIVE_SUBROUTINESACTIVE_SUBROUTINE_UNIFORMSACTIVE_SUBROUTINE_UNIFORM_LOCATIONSACTIVE_SUBROUTINE_MAX_LENGTHACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTHvalues- a variable into which the queried value or values will be placed
-
glGetProgramStagei
public static int glGetProgramStagei(int program, int shadertype, int pname)Retrieves properties of a program object corresponding to a specified shader stage.- Parameters:
program- the name of the program containing shader stageshadertype- the shader stage from which to query for the subroutine parameter. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADERpname- the parameter of the shader to query. One of:ACTIVE_SUBROUTINESACTIVE_SUBROUTINE_UNIFORMSACTIVE_SUBROUTINE_UNIFORM_LOCATIONSACTIVE_SUBROUTINE_MAX_LENGTHACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH
-
glPatchParameteri
public static void glPatchParameteri(int pname, int value)Specifies the integer value of the specified parameter for patch primitives.- Parameters:
pname- the name of the parameter to set. Must be:PATCH_VERTICESvalue- the new value for the parameter given bypname
-
glPatchParameterfv
public static void glPatchParameterfv(int pname, java.nio.FloatBuffer values)Specifies an array of float values for the specified parameter for patch primitives.- Parameters:
pname- the name of the parameter to set. One of:PATCH_DEFAULT_OUTER_LEVELPATCH_DEFAULT_INNER_LEVELvalues- an array containing the new values for the parameter given bypname
-
glBindTransformFeedback
public static void glBindTransformFeedback(int target, int id)Binds a transform feedback object.- Parameters:
target- the target to which to bind the transform feedback objectid. Must be:TRANSFORM_FEEDBACKid- the name of a transform feedback object
-
glDeleteTransformFeedbacks
public static void glDeleteTransformFeedbacks(java.nio.IntBuffer ids)
Deletes transform feedback objects.- Parameters:
ids- an array of names of transform feedback objects to delete
-
glDeleteTransformFeedbacks
public static void glDeleteTransformFeedbacks(int id)
Deletes transform feedback objects.
-
glGenTransformFeedbacks
public static void glGenTransformFeedbacks(java.nio.IntBuffer ids)
Reserves transform feedback object names.- Parameters:
ids- an array of into which the reserved names will be written
-
glGenTransformFeedbacks
public static int glGenTransformFeedbacks()
Reserves transform feedback object names.
-
glIsTransformFeedback
public static boolean glIsTransformFeedback(int id)
Determines if a name corresponds to a transform feedback object.- Parameters:
id- a value that may be the name of a transform feedback object
-
glPauseTransformFeedback
public static void glPauseTransformFeedback()
Pauses transform feedback operations for the currently bound transform feedback object.When transform feedback operations are paused, transform feedback is still considered active and changing most transform feedback state related to the object results in an error. However, a new transform feedback object may be bound while transform feedback is paused. The error
INVALID_OPERATIONis generated by PauseTransformFeedback if the currently bound transform feedback is not active or is paused.When transform feedback is active and not paused, all geometric primitives generated must be compatible with the value of
primitiveModepassed toBeginTransformFeedback. The errorINVALID_OPERATIONis generated byBeginor any operation that implicitly callsBegin(such asDrawElements) ifmodeis not one of the allowed modes. If a geometry shader is active, its output primitive type is used instead of themodeparameter passed toBeginfor the purposes of this error check. Any primitive type may be used while transform feedback is paused.
-
glResumeTransformFeedback
public static void glResumeTransformFeedback()
Resumes transform feedback operations for the currently bound transform feedback object.The error
INVALID_OPERATIONis generated byResumeTransformFeedbackif the currently bound transform feedback is not active or is not paused.
-
glDrawTransformFeedback
public static void glDrawTransformFeedback(int mode, int id)Render 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 count
-
glDrawTransformFeedbackStream
public static void glDrawTransformFeedbackStream(int mode, int id, int stream)Renders 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 count
-
glBeginQueryIndexed
public static void glBeginQueryIndexed(int target, int index, int id)Begins a query object on an indexed target- Parameters:
target- the target type of query object established betweenglBeginQueryIndexedand the subsequentEndQueryIndexed. One of:SAMPLES_PASSEDPRIMITIVES_GENERATEDTRANSFORM_FEEDBACK_PRIMITIVES_WRITTENTIME_ELAPSEDTIMESTAMPANY_SAMPLES_PASSEDANY_SAMPLES_PASSED_CONSERVATIVEindex- the index of the query target upon which to begin the queryid- the name of a query object
-
glEndQueryIndexed
public static void glEndQueryIndexed(int target, int index)Ends a query object on an indexed target- Parameters:
target- the target type of query object to be concluded. One of:SAMPLES_PASSEDPRIMITIVES_GENERATEDTRANSFORM_FEEDBACK_PRIMITIVES_WRITTENTIME_ELAPSEDTIMESTAMPANY_SAMPLES_PASSEDANY_SAMPLES_PASSED_CONSERVATIVEindex- the index of the query target upon which to end the query
-
glGetQueryIndexediv
public static void glGetQueryIndexediv(int target, int index, int pname, java.nio.IntBuffer params)Returns parameters of an indexed query object target.- Parameters:
target- a query object target. One of:SAMPLES_PASSEDPRIMITIVES_GENERATEDTRANSFORM_FEEDBACK_PRIMITIVES_WRITTENTIME_ELAPSEDTIMESTAMPANY_SAMPLES_PASSEDANY_SAMPLES_PASSED_CONSERVATIVEindex- the index of the query object targetpname- the symbolic name of a query object target parameterparams- the requested data
-
glGetQueryIndexedi
public static int glGetQueryIndexedi(int target, int index, int pname)Returns parameters of an indexed query object target.- Parameters:
target- a query object target. One of:SAMPLES_PASSEDPRIMITIVES_GENERATEDTRANSFORM_FEEDBACK_PRIMITIVES_WRITTENTIME_ELAPSEDTIMESTAMPANY_SAMPLES_PASSEDANY_SAMPLES_PASSED_CONSERVATIVEindex- the index of the query object targetpname- the symbolic name of a query object target parameter
-
glDrawArraysIndirect
public static void glDrawArraysIndirect(int mode, int[] indirect)Array version of:DrawArraysIndirect
-
glDrawElementsIndirect
public static void glDrawElementsIndirect(int mode, int type, int[] indirect)Array version of:DrawElementsIndirect
-
glUniform1dv
public static void glUniform1dv(int location, double[] value)Array version of:Uniform1dv
-
glUniform2dv
public static void glUniform2dv(int location, double[] value)Array version of:Uniform2dv
-
glUniform3dv
public static void glUniform3dv(int location, double[] value)Array version of:Uniform3dv
-
glUniform4dv
public static void glUniform4dv(int location, double[] value)Array version of:Uniform4dv
-
glUniformMatrix2dv
public static void glUniformMatrix2dv(int location, boolean transpose, double[] value)Array version of:UniformMatrix2dv
-
glUniformMatrix3dv
public static void glUniformMatrix3dv(int location, boolean transpose, double[] value)Array version of:UniformMatrix3dv
-
glUniformMatrix4dv
public static void glUniformMatrix4dv(int location, boolean transpose, double[] value)Array version of:UniformMatrix4dv
-
glUniformMatrix2x3dv
public static void glUniformMatrix2x3dv(int location, boolean transpose, double[] value)Array version of:UniformMatrix2x3dv
-
glUniformMatrix2x4dv
public static void glUniformMatrix2x4dv(int location, boolean transpose, double[] value)Array version of:UniformMatrix2x4dv
-
glUniformMatrix3x2dv
public static void glUniformMatrix3x2dv(int location, boolean transpose, double[] value)Array version of:UniformMatrix3x2dv
-
glUniformMatrix3x4dv
public static void glUniformMatrix3x4dv(int location, boolean transpose, double[] value)Array version of:UniformMatrix3x4dv
-
glUniformMatrix4x2dv
public static void glUniformMatrix4x2dv(int location, boolean transpose, double[] value)Array version of:UniformMatrix4x2dv
-
glUniformMatrix4x3dv
public static void glUniformMatrix4x3dv(int location, boolean transpose, double[] value)Array version of:UniformMatrix4x3dv
-
glGetUniformdv
public static void glGetUniformdv(int program, int location, double[] params)Array version of:GetUniformdv
-
glGetActiveSubroutineUniformiv
public static void glGetActiveSubroutineUniformiv(int program, int shadertype, int index, int pname, int[] values)Array version of:GetActiveSubroutineUniformiv
-
glGetActiveSubroutineUniformName
public static void glGetActiveSubroutineUniformName(int program, int shadertype, int index, int[] length, java.nio.ByteBuffer name)Array version of:GetActiveSubroutineUniformName
-
glGetActiveSubroutineName
public static void glGetActiveSubroutineName(int program, int shadertype, int index, int[] length, java.nio.ByteBuffer name)Array version of:GetActiveSubroutineName
-
glUniformSubroutinesuiv
public static void glUniformSubroutinesuiv(int shadertype, int[] indices)Array version of:UniformSubroutinesuiv
-
glGetUniformSubroutineuiv
public static void glGetUniformSubroutineuiv(int shadertype, int location, int[] params)Array version of:GetUniformSubroutineuiv
-
glGetProgramStageiv
public static void glGetProgramStageiv(int program, int shadertype, int pname, int[] values)Array version of:GetProgramStageiv
-
glPatchParameterfv
public static void glPatchParameterfv(int pname, float[] values)Array version of:PatchParameterfv
-
glDeleteTransformFeedbacks
public static void glDeleteTransformFeedbacks(int[] ids)
Array version of:DeleteTransformFeedbacks
-
glGenTransformFeedbacks
public static void glGenTransformFeedbacks(int[] ids)
Array version of:GenTransformFeedbacks
-
glGetQueryIndexediv
public static void glGetQueryIndexediv(int target, int index, int pname, int[] params)Array version of:GetQueryIndexediv
-
-