Class GL20C

Direct Known Subclasses:
GL21C

public class GL20C extends GL15C
The OpenGL functionality of a forward compatible context, up to version 2.0.

Extensions promoted to core in this release:

  • Field Details

    • GL_SHADING_LANGUAGE_VERSION

      public static final int GL_SHADING_LANGUAGE_VERSION
      Accepted by the name parameter of GetString.
      See Also:
    • GL_CURRENT_PROGRAM

      public static final int GL_CURRENT_PROGRAM
      Accepted by the pname parameter of GetInteger.
      See Also:
    • GL_SHADER_TYPE

      public static final int GL_SHADER_TYPE
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_DELETE_STATUS

      public static final int GL_DELETE_STATUS
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_COMPILE_STATUS

      public static final int GL_COMPILE_STATUS
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_VALIDATE_STATUS

      public static final int GL_VALIDATE_STATUS
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_INFO_LOG_LENGTH

      public static final int GL_INFO_LOG_LENGTH
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_ATTACHED_SHADERS

      public static final int GL_ATTACHED_SHADERS
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_ACTIVE_UNIFORMS

      public static final int GL_ACTIVE_UNIFORMS
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_ACTIVE_UNIFORM_MAX_LENGTH

      public static final int GL_ACTIVE_UNIFORM_MAX_LENGTH
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_ACTIVE_ATTRIBUTES

      public static final int GL_ACTIVE_ATTRIBUTES
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_ACTIVE_ATTRIBUTE_MAX_LENGTH

      public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_SHADER_SOURCE_LENGTH

      public static final int GL_SHADER_SOURCE_LENGTH
      Accepted by the pname parameter of GetShaderiv.
      See Also:
    • GL_FLOAT_VEC2

      public static final int GL_FLOAT_VEC2
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_FLOAT_VEC3

      public static final int GL_FLOAT_VEC3
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_FLOAT_VEC4

      public static final int GL_FLOAT_VEC4
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_INT_VEC2

      public static final int GL_INT_VEC2
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_INT_VEC3

      public static final int GL_INT_VEC3
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_INT_VEC4

      public static final int GL_INT_VEC4
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_BOOL

      public static final int GL_BOOL
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_BOOL_VEC2

      public static final int GL_BOOL_VEC2
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_BOOL_VEC3

      public static final int GL_BOOL_VEC3
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_BOOL_VEC4

      public static final int GL_BOOL_VEC4
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_FLOAT_MAT2

      public static final int GL_FLOAT_MAT2
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_FLOAT_MAT3

      public static final int GL_FLOAT_MAT3
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_FLOAT_MAT4

      public static final int GL_FLOAT_MAT4
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_SAMPLER_1D

      public static final int GL_SAMPLER_1D
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_SAMPLER_2D

      public static final int GL_SAMPLER_2D
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_SAMPLER_3D

      public static final int GL_SAMPLER_3D
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_SAMPLER_CUBE

      public static final int GL_SAMPLER_CUBE
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_SAMPLER_1D_SHADOW

      public static final int GL_SAMPLER_1D_SHADOW
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_SAMPLER_2D_SHADOW

      public static final int GL_SAMPLER_2D_SHADOW
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_VERTEX_SHADER

      public static final int GL_VERTEX_SHADER
      Accepted by the type argument of CreateShader and returned by the params parameter of GetShaderiv.
      See Also:
    • GL_MAX_VERTEX_UNIFORM_COMPONENTS

      public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_VARYING_FLOATS

      public static final int GL_MAX_VARYING_FLOATS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_VERTEX_ATTRIBS

      public static final int GL_MAX_VERTEX_ATTRIBS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_TEXTURE_IMAGE_UNITS

      public static final int GL_MAX_TEXTURE_IMAGE_UNITS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS

      public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS

      public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_VERTEX_PROGRAM_POINT_SIZE

      public static final int GL_VERTEX_PROGRAM_POINT_SIZE
      Accepted by the cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_ENABLED

      public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED
      Accepted by the pname parameter of GetVertexAttrib{dfi}v.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_SIZE

      public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE
      Accepted by the pname parameter of GetVertexAttrib{dfi}v.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_STRIDE

      public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE
      Accepted by the pname parameter of GetVertexAttrib{dfi}v.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_TYPE

      public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE
      Accepted by the pname parameter of GetVertexAttrib{dfi}v.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_NORMALIZED

      public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
      Accepted by the pname parameter of GetVertexAttrib{dfi}v.
      See Also:
    • GL_CURRENT_VERTEX_ATTRIB

      public static final int GL_CURRENT_VERTEX_ATTRIB
      Accepted by the pname parameter of GetVertexAttrib{dfi}v.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_POINTER

      public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER
      Accepted by the pname parameter of GetVertexAttribPointerv.
      See Also:
    • GL_FRAGMENT_SHADER

      public static final int GL_FRAGMENT_SHADER
      Accepted by the type argument of CreateShader and returned by the params parameter of GetShaderiv.
      See Also:
    • GL_MAX_FRAGMENT_UNIFORM_COMPONENTS

      public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_FRAGMENT_SHADER_DERIVATIVE_HINT

      public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT
      Accepted by the target parameter of Hint and the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_DRAW_BUFFERS

      public static final int GL_MAX_DRAW_BUFFERS
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER0

      public static final int GL_DRAW_BUFFER0
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER1

      public static final int GL_DRAW_BUFFER1
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER2

      public static final int GL_DRAW_BUFFER2
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER3

      public static final int GL_DRAW_BUFFER3
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER4

      public static final int GL_DRAW_BUFFER4
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER5

      public static final int GL_DRAW_BUFFER5
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER6

      public static final int GL_DRAW_BUFFER6
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER7

      public static final int GL_DRAW_BUFFER7
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER8

      public static final int GL_DRAW_BUFFER8
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER9

      public static final int GL_DRAW_BUFFER9
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER10

      public static final int GL_DRAW_BUFFER10
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER11

      public static final int GL_DRAW_BUFFER11
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER12

      public static final int GL_DRAW_BUFFER12
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER13

      public static final int GL_DRAW_BUFFER13
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER14

      public static final int GL_DRAW_BUFFER14
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER15

      public static final int GL_DRAW_BUFFER15
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_POINT_SPRITE_COORD_ORIGIN

      public static final int GL_POINT_SPRITE_COORD_ORIGIN
      Accepted by the pname parameter of PointParameter{if}v.
      See Also:
    • GL_LOWER_LEFT

      public static final int GL_LOWER_LEFT
      Accepted by the param parameter of PointParameter{if}v.
      See Also:
    • GL_UPPER_LEFT

      public static final int GL_UPPER_LEFT
      Accepted by the param parameter of PointParameter{if}v.
      See Also:
    • GL_BLEND_EQUATION_RGB

      public static final int GL_BLEND_EQUATION_RGB
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_BLEND_EQUATION_ALPHA

      public static final int GL_BLEND_EQUATION_ALPHA
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_STENCIL_BACK_FUNC

      public static final int GL_STENCIL_BACK_FUNC
      Accepted by the pname parameter of GetIntegerv.
      See Also:
    • GL_STENCIL_BACK_FAIL

      public static final int GL_STENCIL_BACK_FAIL
      Accepted by the pname parameter of GetIntegerv.
      See Also:
    • GL_STENCIL_BACK_PASS_DEPTH_FAIL

      public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL
      Accepted by the pname parameter of GetIntegerv.
      See Also:
    • GL_STENCIL_BACK_PASS_DEPTH_PASS

      public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS
      Accepted by the pname parameter of GetIntegerv.
      See Also:
    • GL_STENCIL_BACK_REF

      public static final int GL_STENCIL_BACK_REF
      Accepted by the pname parameter of GetIntegerv.
      See Also:
    • GL_STENCIL_BACK_VALUE_MASK

      public static final int GL_STENCIL_BACK_VALUE_MASK
      Accepted by the pname parameter of GetIntegerv.
      See Also:
    • GL_STENCIL_BACK_WRITEMASK

      public static final int GL_STENCIL_BACK_WRITEMASK
      Accepted by the pname parameter of GetIntegerv.
      See Also:
  • Method Details

    • glCreateProgram

      public static int glCreateProgram()
      Creates a program object.
      See Also:
    • glDeleteProgram

      public static void glDeleteProgram(int program)
      Deletes a program object.
      Parameters:
      program - the program object to be deleted
      See Also:
    • glIsProgram

      public static boolean glIsProgram(int program)
      Returns TRUE if program is the name of a program object. If program is zero, or a non-zero value that is not the name of a program object, IsProgram returns FALSE. No error is generated if program is not a valid program object name.
      Parameters:
      program - the program object name to query
      See Also:
    • glCreateShader

      public static int glCreateShader(int type)
      Creates a shader object.
      Parameters:
      type - the type of shader to be created. One of:
      VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
      TESS_EVALUATION_SHADER
      See Also:
    • glDeleteShader

      public static void glDeleteShader(int shader)
      Deletes a shader object.
      Parameters:
      shader - the shader object to be deleted
      See Also:
    • glIsShader

      public static boolean glIsShader(int shader)
      Returns TRUE if shader is the name of a shader object. If shader is zero, or a nonzero value that is not the name of a shader object, IsShader returns FALSE. No error is generated if shader is not a valid shader object name.
      Parameters:
      shader - the shader object name to query
      See Also:
    • glAttachShader

      public static void glAttachShader(int program, int shader)
      Attaches a shader object to a program object.

      In order to create a complete shader program, there must be a way to specify the list of things that will be linked together. Program objects provide this mechanism. Shaders that are to be linked together in a program object must first be attached to that program object. glAttachShader attaches the shader object specified by shader to the program object specified by program. This indicates that shader will be included in link operations that will be performed on program.

      All operations that can be performed on a shader object are valid whether or not the shader object is attached to a program object. It is permissible to attach a shader object to a program object before source code has been loaded into the shader object or before the shader object has been compiled. It is permissible to attach multiple shader objects of the same type because each may contain a portion of the complete shader. It is also permissible to attach a shader object to more than one program object. If a shader object is deleted while it is attached to a program object, it will be flagged for deletion, and deletion will not occur until glDetachShader is called to detach it from all program objects to which it is attached.

      Parameters:
      program - the program object to which a shader object will be attached
      shader - the shader object that is to be attached
      See Also:
    • glDetachShader

      public static void glDetachShader(int program, int shader)
      Detaches a shader object from a program object to which it is attached.
      Parameters:
      program - the program object from which to detach the shader object
      shader - the shader object to be detached
      See Also:
    • nglShaderSource

      public static void nglShaderSource(int shader, int count, long strings, long length)
      Unsafe version of: ShaderSource
      Parameters:
      count - the number of elements in the string and length arrays
    • glShaderSource

      public static void glShaderSource(int shader, PointerBuffer strings, @Nullable IntBuffer length)
      Sets the source code in shader to the source code in the array of strings specified by strings. Any source code previously stored in the shader object is completely replaced. The number of strings in the array is specified by count. If length is NULL, each string is assumed to be null terminated. If length is a value other than NULL, it points to an array containing a string length for each of the corresponding elements of strings. Each element in the length array may contain the length of the corresponding string (the null character is not counted as part of the string length) or a value less than 0 to indicate that the string is null terminated. The source code strings are not scanned or parsed at this time; they are simply copied into the specified shader object.
      Parameters:
      shader - the shader object whose source code is to be replaced
      strings - an array of pointers to strings containing the source code to be loaded into the shader
      length - an array of string lengths
      See Also:
    • glShaderSource

      public static void glShaderSource(int shader, CharSequence... strings)
      Sets the source code in shader to the source code in the array of strings specified by strings. Any source code previously stored in the shader object is completely replaced. The number of strings in the array is specified by count. If length is NULL, each string is assumed to be null terminated. If length is a value other than NULL, it points to an array containing a string length for each of the corresponding elements of strings. Each element in the length array may contain the length of the corresponding string (the null character is not counted as part of the string length) or a value less than 0 to indicate that the string is null terminated. The source code strings are not scanned or parsed at this time; they are simply copied into the specified shader object.
      Parameters:
      shader - the shader object whose source code is to be replaced
      strings - an array of pointers to strings containing the source code to be loaded into the shader
      See Also:
    • glShaderSource

      public static void glShaderSource(int shader, CharSequence string)
      Sets the source code in shader to the source code in the array of strings specified by strings. Any source code previously stored in the shader object is completely replaced. The number of strings in the array is specified by count. If length is NULL, each string is assumed to be null terminated. If length is a value other than NULL, it points to an array containing a string length for each of the corresponding elements of strings. Each element in the length array may contain the length of the corresponding string (the null character is not counted as part of the string length) or a value less than 0 to indicate that the string is null terminated. The source code strings are not scanned or parsed at this time; they are simply copied into the specified shader object.
      Parameters:
      shader - the shader object whose source code is to be replaced
      See Also:
    • glCompileShader

      public static void glCompileShader(int shader)
      Compiles a shader object.
      Parameters:
      shader - the shader object to be compiled
      See Also:
    • glLinkProgram

      public static void glLinkProgram(int program)
      Links a program object.
      Parameters:
      program - the program object to be linked
      See Also:
    • glUseProgram

      public static void glUseProgram(int program)
      Installs a program object as part of current rendering state.
      Parameters:
      program - the program object whose executables are to be used as part of current rendering state
      See Also:
    • glValidateProgram

      public static void glValidateProgram(int program)
      Validates a program object.
      Parameters:
      program - the program object to be validated
      See Also:
    • glUniform1f

      public static void glUniform1f(int location, float v0)
      Specifies the value of a float uniform variable for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      v0 - the uniform value
      See Also:
    • glUniform2f

      public static void glUniform2f(int location, float v0, float v1)
      Specifies the value of a vec2 uniform variable for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      v0 - the uniform x value
      v1 - the uniform y value
      See Also:
    • glUniform3f

      public static void glUniform3f(int location, float v0, float v1, float v2)
      Specifies the value of a vec3 uniform variable for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      v0 - the uniform x value
      v1 - the uniform y value
      v2 - the uniform z value
      See Also:
    • glUniform4f

      public static void glUniform4f(int location, float v0, float v1, float v2, float v3)
      Specifies the value of a vec4 uniform variable for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      v0 - the uniform x value
      v1 - the uniform y value
      v2 - the uniform z value
      v3 - the uniform w value
      See Also:
    • glUniform1i

      public static void glUniform1i(int location, int v0)
      Specifies the value of an int uniform variable for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      v0 - the uniform value
      See Also:
    • glUniform2i

      public static void glUniform2i(int location, int v0, int v1)
      Specifies the value of an ivec2 uniform variable for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      v0 - the uniform x value
      v1 - the uniform y value
      See Also:
    • glUniform3i

      public static void glUniform3i(int location, int v0, int v1, int v2)
      Specifies the value of an ivec3 uniform variable for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      v0 - the uniform x value
      v1 - the uniform y value
      v2 - the uniform z value
      See Also:
    • glUniform4i

      public static void glUniform4i(int location, int v0, int v1, int v2, int v3)
      Specifies the value of an ivec4 uniform variable for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      v0 - the uniform x value
      v1 - the uniform y value
      v2 - the uniform z value
      v3 - the uniform w value
      See Also:
    • nglUniform1fv

      public static void nglUniform1fv(int location, int count, long value)
      Unsafe version of: Uniform1fv
      Parameters:
      count - 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.
    • glUniform1fv

      public static void glUniform1fv(int location, FloatBuffer value)
      Specifies the value of a single float uniform variable or a float uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglUniform2fv

      public static void nglUniform2fv(int location, int count, long value)
      Unsafe version of: Uniform2fv
      Parameters:
      count - 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.
    • glUniform2fv

      public static void glUniform2fv(int location, FloatBuffer value)
      Specifies the value of a single vec2 uniform variable or a vec2 uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglUniform3fv

      public static void nglUniform3fv(int location, int count, long value)
      Unsafe version of: Uniform3fv
      Parameters:
      count - 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.
    • glUniform3fv

      public static void glUniform3fv(int location, FloatBuffer value)
      Specifies the value of a single vec3 uniform variable or a vec3 uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglUniform4fv

      public static void nglUniform4fv(int location, int count, long value)
      Unsafe version of: Uniform4fv
      Parameters:
      count - 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.
    • glUniform4fv

      public static void glUniform4fv(int location, FloatBuffer value)
      Specifies the value of a single vec4 uniform variable or a vec4 uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglUniform1iv

      public static void nglUniform1iv(int location, int count, long value)
      Unsafe version of: Uniform1iv
      Parameters:
      count - 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.
    • glUniform1iv

      public static void glUniform1iv(int location, IntBuffer value)
      Specifies the value of a single int uniform variable or a int uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglUniform2iv

      public static void nglUniform2iv(int location, int count, long value)
      Unsafe version of: Uniform2iv
      Parameters:
      count - 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.
    • glUniform2iv

      public static void glUniform2iv(int location, IntBuffer value)
      Specifies the value of a single ivec2 uniform variable or an ivec2 uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglUniform3iv

      public static void nglUniform3iv(int location, int count, long value)
      Unsafe version of: Uniform3iv
      Parameters:
      count - 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.
    • glUniform3iv

      public static void glUniform3iv(int location, IntBuffer value)
      Specifies the value of a single ivec3 uniform variable or an ivec3 uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglUniform4iv

      public static void nglUniform4iv(int location, int count, long value)
      Unsafe version of: Uniform4iv
      Parameters:
      count - 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.
    • glUniform4iv

      public static void glUniform4iv(int location, IntBuffer value)
      Specifies the value of a single ivec4 uniform variable or an ivec4 uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglUniformMatrix2fv

      public static void nglUniformMatrix2fv(int location, int count, boolean transpose, long value)
      Unsafe version of: UniformMatrix2fv
      Parameters:
      count - 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.
    • glUniformMatrix2fv

      public static void glUniformMatrix2fv(int location, boolean transpose, FloatBuffer value)
      Specifies the value of a single mat2 uniform variable or a mat2 uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      transpose - whether to transpose the matrix as the values are loaded into the uniform variable
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglUniformMatrix3fv

      public static void nglUniformMatrix3fv(int location, int count, boolean transpose, long value)
      Unsafe version of: UniformMatrix3fv
      Parameters:
      count - 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.
    • glUniformMatrix3fv

      public static void glUniformMatrix3fv(int location, boolean transpose, FloatBuffer value)
      Specifies the value of a single mat3 uniform variable or a mat3 uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      transpose - whether to transpose the matrix as the values are loaded into the uniform variable
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglUniformMatrix4fv

      public static void nglUniformMatrix4fv(int location, int count, boolean transpose, long value)
      Unsafe version of: UniformMatrix4fv
      Parameters:
      count - 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.
    • glUniformMatrix4fv

      public static void glUniformMatrix4fv(int location, boolean transpose, FloatBuffer value)
      Specifies the value of a single mat4 uniform variable or a mat4 uniform variable array for the current program object.
      Parameters:
      location - the location of the uniform variable to be modified
      transpose - whether to transpose the matrix as the values are loaded into the uniform variable
      value - a pointer to an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglGetShaderiv

      public static void nglGetShaderiv(int shader, int pname, long params)
      Unsafe version of: GetShaderiv
    • glGetShaderiv

      public static void glGetShaderiv(int shader, int pname, IntBuffer params)
      Returns a parameter from a shader object.
      Parameters:
      shader - the shader object to be queried
      pname - the object parameter. One of:
      SHADER_TYPEDELETE_STATUSCOMPILE_STATUSINFO_LOG_LENGTHSHADER_SOURCE_LENGTH
      params - the requested object parameter
      See Also:
    • glGetShaderi

      public static int glGetShaderi(int shader, int pname)
      Returns a parameter from a shader object.
      Parameters:
      shader - the shader object to be queried
      pname - the object parameter. One of:
      SHADER_TYPEDELETE_STATUSCOMPILE_STATUSINFO_LOG_LENGTHSHADER_SOURCE_LENGTH
      See Also:
    • nglGetProgramiv

      public static void nglGetProgramiv(int program, int pname, long params)
      Unsafe version of: GetProgramiv
    • glGetProgramiv

      public static void glGetProgramiv(int program, int pname, IntBuffer params)
      Returns a parameter from a program object.
      Parameters:
      program - the program object to be queried
      pname - the object parameter. One of:
      DELETE_STATUSLINK_STATUSVALIDATE_STATUS
      INFO_LOG_LENGTHATTACHED_SHADERSACTIVE_ATTRIBUTES
      ACTIVE_ATTRIBUTE_MAX_LENGTHACTIVE_UNIFORMSACTIVE_UNIFORM_MAX_LENGTH
      TRANSFORM_FEEDBACK_BUFFER_MODETRANSFORM_FEEDBACK_VARYINGSTRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
      ACTIVE_UNIFORM_BLOCKSACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTHGEOMETRY_VERTICES_OUT
      GEOMETRY_INPUT_TYPEGEOMETRY_OUTPUT_TYPEPROGRAM_BINARY_LENGTH
      ACTIVE_ATOMIC_COUNTER_BUFFERSCOMPUTE_WORK_GROUP_SIZE
      params - the requested object parameter
      See Also:
    • glGetProgrami

      public static int glGetProgrami(int program, int pname)
      Returns a parameter from a program object.
      Parameters:
      program - the program object to be queried
      pname - the object parameter. One of:
      DELETE_STATUSLINK_STATUSVALIDATE_STATUS
      INFO_LOG_LENGTHATTACHED_SHADERSACTIVE_ATTRIBUTES
      ACTIVE_ATTRIBUTE_MAX_LENGTHACTIVE_UNIFORMSACTIVE_UNIFORM_MAX_LENGTH
      TRANSFORM_FEEDBACK_BUFFER_MODETRANSFORM_FEEDBACK_VARYINGSTRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
      ACTIVE_UNIFORM_BLOCKSACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTHGEOMETRY_VERTICES_OUT
      GEOMETRY_INPUT_TYPEGEOMETRY_OUTPUT_TYPEPROGRAM_BINARY_LENGTH
      ACTIVE_ATOMIC_COUNTER_BUFFERSCOMPUTE_WORK_GROUP_SIZE
      See Also:
    • nglGetShaderInfoLog

      public static void nglGetShaderInfoLog(int shader, int maxLength, long length, long infoLog)
      Unsafe version of: GetShaderInfoLog
      Parameters:
      maxLength - the size of the character buffer for storing the returned information log
    • glGetShaderInfoLog

      public static void glGetShaderInfoLog(int shader, @Nullable IntBuffer length, ByteBuffer infoLog)
      Returns the information log for a shader object.
      Parameters:
      shader - the shader object whose information log is to be queried
      length - the length of the string returned in infoLog (excluding the null terminator)
      infoLog - an array of characters that is used to return the information log
      See Also:
    • glGetShaderInfoLog

      public static String glGetShaderInfoLog(int shader, int maxLength)
      Returns the information log for a shader object.
      Parameters:
      shader - the shader object whose information log is to be queried
      maxLength - the size of the character buffer for storing the returned information log
      See Also:
    • glGetShaderInfoLog

      public static String glGetShaderInfoLog(int shader)
      Returns the information log for a shader object.
      Parameters:
      shader - the shader object whose information log is to be queried
      See Also:
    • nglGetProgramInfoLog

      public static void nglGetProgramInfoLog(int program, int maxLength, long length, long infoLog)
      Unsafe version of: GetProgramInfoLog
      Parameters:
      maxLength - the size of the character buffer for storing the returned information log
    • glGetProgramInfoLog

      public static void glGetProgramInfoLog(int program, @Nullable IntBuffer length, ByteBuffer infoLog)
      Returns the information log for a program object.
      Parameters:
      program - the program object whose information log is to be queried
      length - the length of the string returned in infoLog (excluding the null terminator)
      infoLog - an array of characters that is used to return the information log
      See Also:
    • glGetProgramInfoLog

      public static String glGetProgramInfoLog(int program, int maxLength)
      Returns the information log for a program object.
      Parameters:
      program - the program object whose information log is to be queried
      maxLength - the size of the character buffer for storing the returned information log
      See Also:
    • glGetProgramInfoLog

      public static String glGetProgramInfoLog(int program)
      Returns the information log for a program object.
      Parameters:
      program - the program object whose information log is to be queried
      See Also:
    • nglGetAttachedShaders

      public static void nglGetAttachedShaders(int program, int maxCount, long count, long shaders)
      Unsafe version of: GetAttachedShaders
      Parameters:
      maxCount - the size of the array for storing the returned object names
    • glGetAttachedShaders

      public static void glGetAttachedShaders(int program, @Nullable IntBuffer count, IntBuffer shaders)
      Returns the shader objects attached to a program object.
      Parameters:
      program - the program object to be queried
      count - the number of names actually returned in shaders
      shaders - an array that is used to return the names of attached shader objects
      See Also:
    • nglGetUniformLocation

      public static int nglGetUniformLocation(int program, long name)
      Unsafe version of: GetUniformLocation
    • glGetUniformLocation

      public static int glGetUniformLocation(int program, ByteBuffer name)
      Returns the location of a uniform variable.
      Parameters:
      program - the program object to be queried
      name - a null terminated string containing the name of the uniform variable whose location is to be queried
      See Also:
    • glGetUniformLocation

      public static int glGetUniformLocation(int program, CharSequence name)
      Returns the location of a uniform variable.
      Parameters:
      program - the program object to be queried
      name - a null terminated string containing the name of the uniform variable whose location is to be queried
      See Also:
    • nglGetActiveUniform

      public static void nglGetActiveUniform(int program, int index, int maxLength, long length, long size, long type, long name)
      Unsafe version of: GetActiveUniform
      Parameters:
      maxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name
    • glGetActiveUniform

      public static void glGetActiveUniform(int program, int index, @Nullable IntBuffer length, IntBuffer size, IntBuffer type, ByteBuffer name)
      Returns information about an active uniform variable for the specified program object.
      Parameters:
      program - the program object to be queried
      index - the index of the uniform variable to be queried
      length - the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed
      size - the size of the uniform variable
      type - the data type of the uniform variable
      name - a null terminated string containing the name of the uniform variable
      See Also:
    • glGetActiveUniform

      public static String glGetActiveUniform(int program, int index, int maxLength, IntBuffer size, IntBuffer type)
      Returns information about an active uniform variable for the specified program object.
      Parameters:
      program - the program object to be queried
      index - the index of the uniform variable to be queried
      maxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name
      size - the size of the uniform variable
      type - the data type of the uniform variable
      See Also:
    • glGetActiveUniform

      public static String glGetActiveUniform(int program, int index, IntBuffer size, IntBuffer type)
      Returns information about an active uniform variable for the specified program object.
      Parameters:
      program - the program object to be queried
      index - the index of the uniform variable to be queried
      size - the size of the uniform variable
      type - the data type of the uniform variable
      See Also:
    • nglGetUniformfv

      public static void nglGetUniformfv(int program, int location, long params)
      Unsafe version of: GetUniformfv
    • glGetUniformfv

      public static void glGetUniformfv(int program, int location, FloatBuffer params)
      Returns the float value(s) of a uniform variable.
      Parameters:
      program - the program object to be queried
      location - the location of the uniform variable to be queried
      params - the value of the specified uniform variable
      See Also:
    • glGetUniformf

      public static float glGetUniformf(int program, int location)
      Returns the float value(s) of a uniform variable.
      Parameters:
      program - the program object to be queried
      location - the location of the uniform variable to be queried
      See Also:
    • nglGetUniformiv

      public static void nglGetUniformiv(int program, int location, long params)
      Unsafe version of: GetUniformiv
    • glGetUniformiv

      public static void glGetUniformiv(int program, int location, IntBuffer params)
      Returns the int value(s) of a uniform variable.
      Parameters:
      program - the program object to be queried
      location - the location of the uniform variable to be queried
      params - the value of the specified uniform variable
      See Also:
    • glGetUniformi

      public static int glGetUniformi(int program, int location)
      Returns the int value(s) of a uniform variable.
      Parameters:
      program - the program object to be queried
      location - the location of the uniform variable to be queried
      See Also:
    • nglGetShaderSource

      public static void nglGetShaderSource(int shader, int maxLength, long length, long source)
      Unsafe version of: GetShaderSource
      Parameters:
      maxLength - the size of the character buffer for storing the returned source code string
    • glGetShaderSource

      public static void glGetShaderSource(int shader, @Nullable IntBuffer length, ByteBuffer source)
      Returns the source code string from a shader object.
      Parameters:
      shader - the shader object to be queried
      length - the length of the string returned in source (excluding the null terminator)
      source - an array of characters that is used to return the source code string
      See Also:
    • glGetShaderSource

      public static String glGetShaderSource(int shader, int maxLength)
      Returns the source code string from a shader object.
      Parameters:
      shader - the shader object to be queried
      maxLength - the size of the character buffer for storing the returned source code string
      See Also:
    • glGetShaderSource

      public static String glGetShaderSource(int shader)
      Returns the source code string from a shader object.
      Parameters:
      shader - the shader object to be queried
      See Also:
    • glVertexAttrib1f

      public static void glVertexAttrib1f(int index, float v0)
      Specifies the value of a generic vertex attribute. The y and z components are implicitly set to 0.0f and w to 1.0f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      See Also:
    • glVertexAttrib1s

      public static void glVertexAttrib1s(int index, short v0)
      Short version of VertexAttrib1f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      See Also:
    • glVertexAttrib1d

      public static void glVertexAttrib1d(int index, double v0)
      Double version of VertexAttrib1f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      See Also:
    • glVertexAttrib2f

      public static void glVertexAttrib2f(int index, float v0, float v1)
      Specifies the value of a generic vertex attribute. The y component is implicitly set to 0.0f and w to 1.0f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      See Also:
    • glVertexAttrib2s

      public static void glVertexAttrib2s(int index, short v0, short v1)
      Short version of VertexAttrib2f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      See Also:
    • glVertexAttrib2d

      public static void glVertexAttrib2d(int index, double v0, double v1)
      Double version of VertexAttrib2f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      See Also:
    • glVertexAttrib3f

      public static void glVertexAttrib3f(int index, float v0, float v1, float v2)
      Specifies the value of a generic vertex attribute. The w is implicitly set to 1.0f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
      See Also:
    • glVertexAttrib3s

      public static void glVertexAttrib3s(int index, short v0, short v1, short v2)
      Short version of VertexAttrib3f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
      See Also:
    • glVertexAttrib3d

      public static void glVertexAttrib3d(int index, double v0, double v1, double v2)
      Double version of VertexAttrib3f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
      See Also:
    • glVertexAttrib4f

      public static void glVertexAttrib4f(int index, float v0, float v1, float v2, float v3)
      Specifies the value of a generic vertex attribute.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
      v3 - the vertex attribute w component
      See Also:
    • glVertexAttrib4s

      public static void glVertexAttrib4s(int index, short v0, short v1, short v2, short v3)
      Short version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
      v3 - the vertex attribute w component
      See Also:
    • glVertexAttrib4d

      public static void glVertexAttrib4d(int index, double v0, double v1, double v2, double v3)
      Double version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
      v3 - the vertex attribute w component
      See Also:
    • glVertexAttrib4Nub

      public static void glVertexAttrib4Nub(int index, byte x, byte y, byte z, byte w)
      Normalized unsigned byte version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      x - the vertex attribute x component
      y - the vertex attribute y component
      z - the vertex attribute z component
      w - the vertex attribute w component
      See Also:
    • nglVertexAttrib1fv

      public static void nglVertexAttrib1fv(int index, long v)
      Unsafe version of: VertexAttrib1fv
    • glVertexAttrib1fv

      public static void glVertexAttrib1fv(int index, FloatBuffer v)
      Pointer version of VertexAttrib1f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib1sv

      public static void nglVertexAttrib1sv(int index, long v)
      Unsafe version of: VertexAttrib1sv
    • glVertexAttrib1sv

      public static void glVertexAttrib1sv(int index, ShortBuffer v)
      Pointer version of VertexAttrib1s.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib1dv

      public static void nglVertexAttrib1dv(int index, long v)
      Unsafe version of: VertexAttrib1dv
    • glVertexAttrib1dv

      public static void glVertexAttrib1dv(int index, DoubleBuffer v)
      Pointer version of VertexAttrib1d.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib2fv

      public static void nglVertexAttrib2fv(int index, long v)
      Unsafe version of: VertexAttrib2fv
    • glVertexAttrib2fv

      public static void glVertexAttrib2fv(int index, FloatBuffer v)
      Pointer version of VertexAttrib2f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib2sv

      public static void nglVertexAttrib2sv(int index, long v)
      Unsafe version of: VertexAttrib2sv
    • glVertexAttrib2sv

      public static void glVertexAttrib2sv(int index, ShortBuffer v)
      Pointer version of VertexAttrib2s.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib2dv

      public static void nglVertexAttrib2dv(int index, long v)
      Unsafe version of: VertexAttrib2dv
    • glVertexAttrib2dv

      public static void glVertexAttrib2dv(int index, DoubleBuffer v)
      Pointer version of VertexAttrib2d.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib3fv

      public static void nglVertexAttrib3fv(int index, long v)
      Unsafe version of: VertexAttrib3fv
    • glVertexAttrib3fv

      public static void glVertexAttrib3fv(int index, FloatBuffer v)
      Pointer version of VertexAttrib3f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib3sv

      public static void nglVertexAttrib3sv(int index, long v)
      Unsafe version of: VertexAttrib3sv
    • glVertexAttrib3sv

      public static void glVertexAttrib3sv(int index, ShortBuffer v)
      Pointer version of VertexAttrib3s.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib3dv

      public static void nglVertexAttrib3dv(int index, long v)
      Unsafe version of: VertexAttrib3dv
    • glVertexAttrib3dv

      public static void glVertexAttrib3dv(int index, DoubleBuffer v)
      Pointer version of VertexAttrib3d.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4fv

      public static void nglVertexAttrib4fv(int index, long v)
      Unsafe version of: VertexAttrib4fv
    • glVertexAttrib4fv

      public static void glVertexAttrib4fv(int index, FloatBuffer v)
      Pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4sv

      public static void nglVertexAttrib4sv(int index, long v)
      Unsafe version of: VertexAttrib4sv
    • glVertexAttrib4sv

      public static void glVertexAttrib4sv(int index, ShortBuffer v)
      Pointer version of VertexAttrib4s.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4dv

      public static void nglVertexAttrib4dv(int index, long v)
      Unsafe version of: VertexAttrib4dv
    • glVertexAttrib4dv

      public static void glVertexAttrib4dv(int index, DoubleBuffer v)
      Pointer version of VertexAttrib4d.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4iv

      public static void nglVertexAttrib4iv(int index, long v)
      Unsafe version of: VertexAttrib4iv
    • glVertexAttrib4iv

      public static void glVertexAttrib4iv(int index, IntBuffer v)
      Integer pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4bv

      public static void nglVertexAttrib4bv(int index, long v)
      Unsafe version of: VertexAttrib4bv
    • glVertexAttrib4bv

      public static void glVertexAttrib4bv(int index, ByteBuffer v)
      Byte pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4ubv

      public static void nglVertexAttrib4ubv(int index, long v)
      Unsafe version of: VertexAttrib4ubv
    • glVertexAttrib4ubv

      public static void glVertexAttrib4ubv(int index, ByteBuffer v)
      Pointer version of VertexAttrib4Nub.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4usv

      public static void nglVertexAttrib4usv(int index, long v)
      Unsafe version of: VertexAttrib4usv
    • glVertexAttrib4usv

      public static void glVertexAttrib4usv(int index, ShortBuffer v)
      Unsigned short pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4uiv

      public static void nglVertexAttrib4uiv(int index, long v)
      Unsafe version of: VertexAttrib4uiv
    • glVertexAttrib4uiv

      public static void glVertexAttrib4uiv(int index, IntBuffer v)
      Unsigned int pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4Nbv

      public static void nglVertexAttrib4Nbv(int index, long v)
      Unsafe version of: VertexAttrib4Nbv
    • glVertexAttrib4Nbv

      public static void glVertexAttrib4Nbv(int index, ByteBuffer v)
      Normalized byte pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4Nsv

      public static void nglVertexAttrib4Nsv(int index, long v)
      Unsafe version of: VertexAttrib4Nsv
    • glVertexAttrib4Nsv

      public static void glVertexAttrib4Nsv(int index, ShortBuffer v)
      Normalized short pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4Niv

      public static void nglVertexAttrib4Niv(int index, long v)
      Unsafe version of: VertexAttrib4Niv
    • glVertexAttrib4Niv

      public static void glVertexAttrib4Niv(int index, IntBuffer v)
      Normalized int pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4Nubv

      public static void nglVertexAttrib4Nubv(int index, long v)
      Unsafe version of: VertexAttrib4Nubv
    • glVertexAttrib4Nubv

      public static void glVertexAttrib4Nubv(int index, ByteBuffer v)
      Normalized unsigned byte pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4Nusv

      public static void nglVertexAttrib4Nusv(int index, long v)
      Unsafe version of: VertexAttrib4Nusv
    • glVertexAttrib4Nusv

      public static void glVertexAttrib4Nusv(int index, ShortBuffer v)
      Normalized unsigned short pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttrib4Nuiv

      public static void nglVertexAttrib4Nuiv(int index, long v)
      Unsafe version of: VertexAttrib4Nuiv
    • glVertexAttrib4Nuiv

      public static void glVertexAttrib4Nuiv(int index, IntBuffer v)
      Normalized unsigned int pointer version of VertexAttrib4f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
      See Also:
    • nglVertexAttribPointer

      public static void nglVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long pointer)
      Unsafe version of: VertexAttribPointer
    • glVertexAttribPointer

      public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, ByteBuffer pointer)
      Specifies the location and organization of a vertex attribute array.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      size - the number of values per vertex that are stored in the array. The initial value is 4. One of:
      1234BGRA
      type - the data type of each component in the array. The initial value is GL_FLOAT. One of:
      BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
      DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
      normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
      stride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
      pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
      See Also:
    • glVertexAttribPointer

      public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long pointer)
      Specifies the location and organization of a vertex attribute array.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      size - the number of values per vertex that are stored in the array. The initial value is 4. One of:
      1234BGRA
      type - the data type of each component in the array. The initial value is GL_FLOAT. One of:
      BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
      DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
      normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
      stride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
      pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
      See Also:
    • glVertexAttribPointer

      public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, ShortBuffer pointer)
      Specifies the location and organization of a vertex attribute array.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      size - the number of values per vertex that are stored in the array. The initial value is 4. One of:
      1234BGRA
      type - the data type of each component in the array. The initial value is GL_FLOAT. One of:
      BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
      DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
      normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
      stride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
      pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
      See Also:
    • glVertexAttribPointer

      public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, IntBuffer pointer)
      Specifies the location and organization of a vertex attribute array.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      size - the number of values per vertex that are stored in the array. The initial value is 4. One of:
      1234BGRA
      type - the data type of each component in the array. The initial value is GL_FLOAT. One of:
      BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
      DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
      normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
      stride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
      pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
      See Also:
    • glVertexAttribPointer

      public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, FloatBuffer pointer)
      Specifies the location and organization of a vertex attribute array.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      size - the number of values per vertex that are stored in the array. The initial value is 4. One of:
      1234BGRA
      type - the data type of each component in the array. The initial value is GL_FLOAT. One of:
      BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
      DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
      normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
      stride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
      pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
      See Also:
    • glEnableVertexAttribArray

      public static void glEnableVertexAttribArray(int index)
      Enables a generic vertex attribute array.
      Parameters:
      index - the index of the generic vertex attribute to be enabled
      See Also:
    • glDisableVertexAttribArray

      public static void glDisableVertexAttribArray(int index)
      Disables a generic vertex attribute array.
      Parameters:
      index - the index of the generic vertex attribute to be disabled
      See Also:
    • nglBindAttribLocation

      public static void nglBindAttribLocation(int program, int index, long name)
      Unsafe version of: BindAttribLocation
    • glBindAttribLocation

      public static void glBindAttribLocation(int program, int index, ByteBuffer name)
      Associates a generic vertex attribute index with a named attribute variable.
      Parameters:
      program - the program object in which the association is to be made
      index - the index of the generic vertex attribute to be bound
      name - a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound
      See Also:
    • glBindAttribLocation

      public static void glBindAttribLocation(int program, int index, CharSequence name)
      Associates a generic vertex attribute index with a named attribute variable.
      Parameters:
      program - the program object in which the association is to be made
      index - the index of the generic vertex attribute to be bound
      name - a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound
      See Also:
    • nglGetActiveAttrib

      public static void nglGetActiveAttrib(int program, int index, int maxLength, long length, long size, long type, long name)
      Unsafe version of: GetActiveAttrib
      Parameters:
      maxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name
    • glGetActiveAttrib

      public static void glGetActiveAttrib(int program, int index, @Nullable IntBuffer length, IntBuffer size, IntBuffer type, ByteBuffer name)
      Returns information about an active attribute variable for the specified program object.
      Parameters:
      program - the program object to be queried
      index - the index of the attribute variable to be queried
      length - the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed
      size - the size of the attribute variable
      type - the data type of the attribute variable
      name - a null terminated string containing the name of the attribute variable
      See Also:
    • glGetActiveAttrib

      public static String glGetActiveAttrib(int program, int index, int maxLength, IntBuffer size, IntBuffer type)
      Returns information about an active attribute variable for the specified program object.
      Parameters:
      program - the program object to be queried
      index - the index of the attribute variable to be queried
      maxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name
      size - the size of the attribute variable
      type - the data type of the attribute variable
      See Also:
    • glGetActiveAttrib

      public static String glGetActiveAttrib(int program, int index, IntBuffer size, IntBuffer type)
      Returns information about an active attribute variable for the specified program object.
      Parameters:
      program - the program object to be queried
      index - the index of the attribute variable to be queried
      size - the size of the attribute variable
      type - the data type of the attribute variable
      See Also:
    • nglGetAttribLocation

      public static int nglGetAttribLocation(int program, long name)
      Unsafe version of: GetAttribLocation
    • glGetAttribLocation

      public static int glGetAttribLocation(int program, ByteBuffer name)
      Returns the location of an attribute variable.
      Parameters:
      program - the program object to be queried
      name - a null terminated string containing the name of the attribute variable whose location is to be queried
      See Also:
    • glGetAttribLocation

      public static int glGetAttribLocation(int program, CharSequence name)
      Returns the location of an attribute variable.
      Parameters:
      program - the program object to be queried
      name - a null terminated string containing the name of the attribute variable whose location is to be queried
      See Also:
    • nglGetVertexAttribiv

      public static void nglGetVertexAttribiv(int index, int pname, long params)
      Unsafe version of: GetVertexAttribiv
    • glGetVertexAttribiv

      public static void glGetVertexAttribiv(int index, int pname, IntBuffer params)
      Returns the integer value of a generic vertex attribute parameter.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the vertex attribute parameter to be queried. One of:
      VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGVERTEX_ATTRIB_ARRAY_ENABLED
      VERTEX_ATTRIB_ARRAY_SIZEVERTEX_ATTRIB_ARRAY_STRIDE
      VERTEX_ATTRIB_ARRAY_TYPEVERTEX_ATTRIB_ARRAY_NORMALIZED
      CURRENT_VERTEX_ATTRIBVERTEX_ATTRIB_ARRAY_INTEGER
      VERTEX_ATTRIB_ARRAY_DIVISOR
      params - returns the requested data
      See Also:
    • glGetVertexAttribi

      public static int glGetVertexAttribi(int index, int pname)
      Returns the integer value of a generic vertex attribute parameter.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the vertex attribute parameter to be queried. One of:
      VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGVERTEX_ATTRIB_ARRAY_ENABLED
      VERTEX_ATTRIB_ARRAY_SIZEVERTEX_ATTRIB_ARRAY_STRIDE
      VERTEX_ATTRIB_ARRAY_TYPEVERTEX_ATTRIB_ARRAY_NORMALIZED
      CURRENT_VERTEX_ATTRIBVERTEX_ATTRIB_ARRAY_INTEGER
      VERTEX_ATTRIB_ARRAY_DIVISOR
      See Also:
    • nglGetVertexAttribfv

      public static void nglGetVertexAttribfv(int index, int pname, long params)
      Unsafe version of: GetVertexAttribfv
    • glGetVertexAttribfv

      public static void glGetVertexAttribfv(int index, int pname, FloatBuffer params)
      Float version of GetVertexAttribiv.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the vertex attribute parameter to be queried
      params - returns the requested data
      See Also:
    • nglGetVertexAttribdv

      public static void nglGetVertexAttribdv(int index, int pname, long params)
      Unsafe version of: GetVertexAttribdv
    • glGetVertexAttribdv

      public static void glGetVertexAttribdv(int index, int pname, DoubleBuffer params)
      Double version of GetVertexAttribiv.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the vertex attribute parameter to be queried
      params - returns the requested data
      See Also:
    • nglGetVertexAttribPointerv

      public static void nglGetVertexAttribPointerv(int index, int pname, long pointer)
      Unsafe version of: GetVertexAttribPointerv
    • glGetVertexAttribPointerv

      public static void glGetVertexAttribPointerv(int index, int pname, PointerBuffer pointer)
      Returns the address of the specified generic vertex attribute pointer.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the generic vertex attribute parameter to be returned. Must be:
      VERTEX_ATTRIB_ARRAY_POINTER
      pointer - the pointer value
      See Also:
    • glGetVertexAttribPointer

      public static long glGetVertexAttribPointer(int index, int pname)
      Returns the address of the specified generic vertex attribute pointer.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the generic vertex attribute parameter to be returned. Must be:
      VERTEX_ATTRIB_ARRAY_POINTER
      See Also:
    • nglDrawBuffers

      public static void nglDrawBuffers(int n, long bufs)
      Unsafe version of: DrawBuffers
      Parameters:
      n - the number of buffers in bufs
    • glDrawBuffers

      public static void glDrawBuffers(IntBuffer bufs)
      Specifies a list of color buffers to be drawn into.
      Parameters:
      bufs - an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. One of:
      NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTCOLOR_ATTACHMENT0
      GL30.GL_COLOR_ATTACHMENT[1-15]
      See Also:
    • glDrawBuffers

      public static void glDrawBuffers(int buf)
      Specifies a list of color buffers to be drawn into.
      See Also:
    • glBlendEquationSeparate

      public static void glBlendEquationSeparate(int modeRGB, int modeAlpha)
      Sets the RGB blend equation and the alpha blend equation separately.
      Parameters:
      modeRGB - 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
      modeAlpha - the alpha blend equation, how the alpha component of the source and destination colors are combined
      See Also:
    • glStencilOpSeparate

      public static void glStencilOpSeparate(int face, int sfail, int dpfail, int dppass)
      Sets front and/or back stencil test actions.
      Parameters:
      face - whether front and/or back stencil state is updated. One of:
      FRONTBACKFRONT_AND_BACK
      sfail - the action to take when the stencil test fails. The initial value is GL_KEEP. One of:
      KEEPZEROREPLACEINCRINCR_WRAPDECRDECR_WRAPINVERT
      dpfail - the stencil action when the stencil test passes, but the depth test fails. The initial value is GL_KEEP
      dppass - the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. The initial value is GL_KEEP
      See Also:
    • glStencilFuncSeparate

      public static void glStencilFuncSeparate(int face, int func, int ref, int mask)
      Sets front and/or back function and reference value for stencil testing.
      Parameters:
      face - whether front and/or back stencil state is updated. One of:
      FRONTBACKFRONT_AND_BACK
      func - the test function. The initial value is GL_ALWAYS. One of:
      NEVERLESSLEQUALGREATERGEQUALEQUALNOTEQUALALWAYS
      ref - the reference value for the stencil test. ref is clamped to the range [0, 2n – 1], where n is the number of bitplanes in the stencil buffer. The initial value is 0.
      mask - a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
      See Also:
    • glStencilMaskSeparate

      public static void glStencilMaskSeparate(int face, int mask)
      Controls the front and/or back writing of individual bits in the stencil planes.
      Parameters:
      face - whether front and/or back stencil writemask is updated. One of:
      FRONTBACKFRONT_AND_BACK
      mask - a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
      See Also:
    • glShaderSource

      public static void glShaderSource(int shader, PointerBuffer strings, @Nullable int[] length)
      Array version of: ShaderSource
      See Also:
    • glUniform1fv

      public static void glUniform1fv(int location, float[] value)
      Array version of: Uniform1fv
      See Also:
    • glUniform2fv

      public static void glUniform2fv(int location, float[] value)
      Array version of: Uniform2fv
      See Also:
    • glUniform3fv

      public static void glUniform3fv(int location, float[] value)
      Array version of: Uniform3fv
      See Also:
    • glUniform4fv

      public static void glUniform4fv(int location, float[] value)
      Array version of: Uniform4fv
      See Also:
    • glUniform1iv

      public static void glUniform1iv(int location, int[] value)
      Array version of: Uniform1iv
      See Also:
    • glUniform2iv

      public static void glUniform2iv(int location, int[] value)
      Array version of: Uniform2iv
      See Also:
    • glUniform3iv

      public static void glUniform3iv(int location, int[] value)
      Array version of: Uniform3iv
      See Also:
    • glUniform4iv

      public static void glUniform4iv(int location, int[] value)
      Array version of: Uniform4iv
      See Also:
    • glUniformMatrix2fv

      public static void glUniformMatrix2fv(int location, boolean transpose, float[] value)
      Array version of: UniformMatrix2fv
      See Also:
    • glUniformMatrix3fv

      public static void glUniformMatrix3fv(int location, boolean transpose, float[] value)
      Array version of: UniformMatrix3fv
      See Also:
    • glUniformMatrix4fv

      public static void glUniformMatrix4fv(int location, boolean transpose, float[] value)
      Array version of: UniformMatrix4fv
      See Also:
    • glGetShaderiv

      public static void glGetShaderiv(int shader, int pname, int[] params)
      Array version of: GetShaderiv
      See Also:
    • glGetProgramiv

      public static void glGetProgramiv(int program, int pname, int[] params)
      Array version of: GetProgramiv
      See Also:
    • glGetShaderInfoLog

      public static void glGetShaderInfoLog(int shader, @Nullable int[] length, ByteBuffer infoLog)
      Array version of: GetShaderInfoLog
      See Also:
    • glGetProgramInfoLog

      public static void glGetProgramInfoLog(int program, @Nullable int[] length, ByteBuffer infoLog)
      Array version of: GetProgramInfoLog
      See Also:
    • glGetAttachedShaders

      public static void glGetAttachedShaders(int program, @Nullable int[] count, int[] shaders)
      Array version of: GetAttachedShaders
      See Also:
    • glGetActiveUniform

      public static void glGetActiveUniform(int program, int index, @Nullable int[] length, int[] size, int[] type, ByteBuffer name)
      Array version of: GetActiveUniform
      See Also:
    • glGetUniformfv

      public static void glGetUniformfv(int program, int location, float[] params)
      Array version of: GetUniformfv
      See Also:
    • glGetUniformiv

      public static void glGetUniformiv(int program, int location, int[] params)
      Array version of: GetUniformiv
      See Also:
    • glGetShaderSource

      public static void glGetShaderSource(int shader, @Nullable int[] length, ByteBuffer source)
      Array version of: GetShaderSource
      See Also:
    • glVertexAttrib1fv

      public static void glVertexAttrib1fv(int index, float[] v)
      Array version of: VertexAttrib1fv
      See Also:
    • glVertexAttrib1sv

      public static void glVertexAttrib1sv(int index, short[] v)
      Array version of: VertexAttrib1sv
      See Also:
    • glVertexAttrib1dv

      public static void glVertexAttrib1dv(int index, double[] v)
      Array version of: VertexAttrib1dv
      See Also:
    • glVertexAttrib2fv

      public static void glVertexAttrib2fv(int index, float[] v)
      Array version of: VertexAttrib2fv
      See Also:
    • glVertexAttrib2sv

      public static void glVertexAttrib2sv(int index, short[] v)
      Array version of: VertexAttrib2sv
      See Also:
    • glVertexAttrib2dv

      public static void glVertexAttrib2dv(int index, double[] v)
      Array version of: VertexAttrib2dv
      See Also:
    • glVertexAttrib3fv

      public static void glVertexAttrib3fv(int index, float[] v)
      Array version of: VertexAttrib3fv
      See Also:
    • glVertexAttrib3sv

      public static void glVertexAttrib3sv(int index, short[] v)
      Array version of: VertexAttrib3sv
      See Also:
    • glVertexAttrib3dv

      public static void glVertexAttrib3dv(int index, double[] v)
      Array version of: VertexAttrib3dv
      See Also:
    • glVertexAttrib4fv

      public static void glVertexAttrib4fv(int index, float[] v)
      Array version of: VertexAttrib4fv
      See Also:
    • glVertexAttrib4sv

      public static void glVertexAttrib4sv(int index, short[] v)
      Array version of: VertexAttrib4sv
      See Also:
    • glVertexAttrib4dv

      public static void glVertexAttrib4dv(int index, double[] v)
      Array version of: VertexAttrib4dv
      See Also:
    • glVertexAttrib4iv

      public static void glVertexAttrib4iv(int index, int[] v)
      Array version of: VertexAttrib4iv
      See Also:
    • glVertexAttrib4usv

      public static void glVertexAttrib4usv(int index, short[] v)
      Array version of: VertexAttrib4usv
      See Also:
    • glVertexAttrib4uiv

      public static void glVertexAttrib4uiv(int index, int[] v)
      Array version of: VertexAttrib4uiv
      See Also:
    • glVertexAttrib4Nsv

      public static void glVertexAttrib4Nsv(int index, short[] v)
      Array version of: VertexAttrib4Nsv
      See Also:
    • glVertexAttrib4Niv

      public static void glVertexAttrib4Niv(int index, int[] v)
      Array version of: VertexAttrib4Niv
      See Also:
    • glVertexAttrib4Nusv

      public static void glVertexAttrib4Nusv(int index, short[] v)
      Array version of: VertexAttrib4Nusv
      See Also:
    • glVertexAttrib4Nuiv

      public static void glVertexAttrib4Nuiv(int index, int[] v)
      Array version of: VertexAttrib4Nuiv
      See Also:
    • glGetActiveAttrib

      public static void glGetActiveAttrib(int program, int index, @Nullable int[] length, int[] size, int[] type, ByteBuffer name)
      Array version of: GetActiveAttrib
      See Also:
    • glGetVertexAttribiv

      public static void glGetVertexAttribiv(int index, int pname, int[] params)
      Array version of: GetVertexAttribiv
      See Also:
    • glGetVertexAttribfv

      public static void glGetVertexAttribfv(int index, int pname, float[] params)
      Array version of: GetVertexAttribfv
      See Also:
    • glGetVertexAttribdv

      public static void glGetVertexAttribdv(int index, int pname, double[] params)
      Array version of: GetVertexAttribdv
      See Also:
    • glDrawBuffers

      public static void glDrawBuffers(int[] bufs)
      Array version of: DrawBuffers
      See Also: