Class GL41

Direct Known Subclasses:
GL42

public class GL41 extends GL40
The OpenGL functionality up to version 4.1. Includes the deprecated symbols of the Compatibility Profile.

OpenGL 4.1 implementations support revision 4.10 of the OpenGL Shading Language.

Extensions promoted to core in this release:

  • Field Details

    • GL_SHADER_COMPILER

      public static final int GL_SHADER_COMPILER
      Accepted by the value parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
    • GL_SHADER_BINARY_FORMATS

      public static final int GL_SHADER_BINARY_FORMATS
      Accepted by the value parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
    • GL_NUM_SHADER_BINARY_FORMATS

      public static final int GL_NUM_SHADER_BINARY_FORMATS
      Accepted by the value parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_VERTEX_UNIFORM_VECTORS

      public static final int GL_MAX_VERTEX_UNIFORM_VECTORS
      Accepted by the value parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_VARYING_VECTORS

      public static final int GL_MAX_VARYING_VECTORS
      Accepted by the value parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_FRAGMENT_UNIFORM_VECTORS

      public static final int GL_MAX_FRAGMENT_UNIFORM_VECTORS
      Accepted by the value parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
    • GL_IMPLEMENTATION_COLOR_READ_TYPE

      public static final int GL_IMPLEMENTATION_COLOR_READ_TYPE
      Accepted by the value parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
    • GL_IMPLEMENTATION_COLOR_READ_FORMAT

      public static final int GL_IMPLEMENTATION_COLOR_READ_FORMAT
      Accepted by the value parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
    • GL_FIXED

      public static final int GL_FIXED
      Accepted by the type parameter of VertexAttribPointer.
      See Also:
    • GL_LOW_FLOAT

      public static final int GL_LOW_FLOAT
      Accepted by the precisiontype parameter of GetShaderPrecisionFormat.
      See Also:
    • GL_MEDIUM_FLOAT

      public static final int GL_MEDIUM_FLOAT
      Accepted by the precisiontype parameter of GetShaderPrecisionFormat.
      See Also:
    • GL_HIGH_FLOAT

      public static final int GL_HIGH_FLOAT
      Accepted by the precisiontype parameter of GetShaderPrecisionFormat.
      See Also:
    • GL_LOW_INT

      public static final int GL_LOW_INT
      Accepted by the precisiontype parameter of GetShaderPrecisionFormat.
      See Also:
    • GL_MEDIUM_INT

      public static final int GL_MEDIUM_INT
      Accepted by the precisiontype parameter of GetShaderPrecisionFormat.
      See Also:
    • GL_HIGH_INT

      public static final int GL_HIGH_INT
      Accepted by the precisiontype parameter of GetShaderPrecisionFormat.
      See Also:
    • GL_RGB565

      public static final int GL_RGB565
      Accepted by the format parameter of most commands taking sized internal formats.
      See Also:
    • GL_PROGRAM_BINARY_RETRIEVABLE_HINT

      public static final int GL_PROGRAM_BINARY_RETRIEVABLE_HINT
      Accepted by the pname parameter of ProgramParameteri and GetProgramiv.
      See Also:
    • GL_PROGRAM_BINARY_LENGTH

      public static final int GL_PROGRAM_BINARY_LENGTH
      Accepted by the pname parameter of GetProgramiv.
      See Also:
    • GL_NUM_PROGRAM_BINARY_FORMATS

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

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

      public static final int GL_VERTEX_SHADER_BIT
      Accepted by stages parameter to UseProgramStages.
      See Also:
    • GL_FRAGMENT_SHADER_BIT

      public static final int GL_FRAGMENT_SHADER_BIT
      Accepted by stages parameter to UseProgramStages.
      See Also:
    • GL_GEOMETRY_SHADER_BIT

      public static final int GL_GEOMETRY_SHADER_BIT
      Accepted by stages parameter to UseProgramStages.
      See Also:
    • GL_TESS_CONTROL_SHADER_BIT

      public static final int GL_TESS_CONTROL_SHADER_BIT
      Accepted by stages parameter to UseProgramStages.
      See Also:
    • GL_TESS_EVALUATION_SHADER_BIT

      public static final int GL_TESS_EVALUATION_SHADER_BIT
      Accepted by stages parameter to UseProgramStages.
      See Also:
    • GL_ALL_SHADER_BITS

      public static final int GL_ALL_SHADER_BITS
      Accepted by stages parameter to UseProgramStages.
      See Also:
    • GL_PROGRAM_SEPARABLE

      public static final int GL_PROGRAM_SEPARABLE
      Accepted by the pname parameter of ProgramParameteri and GetProgramiv.
      See Also:
    • GL_ACTIVE_PROGRAM

      public static final int GL_ACTIVE_PROGRAM
      Accepted by type parameter to GetProgramPipelineiv.
      See Also:
    • GL_PROGRAM_PIPELINE_BINDING

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

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

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

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

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

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

      public static final int GL_UNDEFINED_VERTEX
      Returned in the data parameter from a Get query with a pname of LAYER_PROVOKING_VERTEX or VIEWPORT_INDEX_PROVOKING_VERTEX.
      See Also:
  • Method Details

    • glReleaseShaderCompiler

      public static void glReleaseShaderCompiler()
      Releases resources allocated by the shader compiler. This is a hint from the application, and does not prevent later use of the shader compiler.
      See Also:
    • nglShaderBinary

      public static void nglShaderBinary(int count, long shaders, int binaryformat, long binary, int length)
      Unsafe version of: ShaderBinary
      Parameters:
      count - the number of shader object handles contained in shaders
      length - the length of the array whose address is given in binary
    • glShaderBinary

      public static void glShaderBinary(IntBuffer shaders, int binaryformat, ByteBuffer binary)
      Loads pre-compiled shader binaries.
      Parameters:
      shaders - an array of shader handles into which to load pre-compiled shader binaries
      binaryformat - the format of the shader binaries contained in binary
      binary - an array of bytes containing pre-compiled binary shader code
      See Also:
    • nglGetShaderPrecisionFormat

      public static void nglGetShaderPrecisionFormat(int shadertype, int precisiontype, long range, long precision)
      Unsafe version of: GetShaderPrecisionFormat
    • glGetShaderPrecisionFormat

      public static void glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision)
      Retrieves the range and precision for numeric formats supported by the shader compiler.
      Parameters:
      shadertype - the type of shader whose precision to query. One of:
      VERTEX_SHADERFRAGMENT_SHADER
      precisiontype - the numeric format whose precision and range to query
      range - the address of array of two integers into which encodings of the implementation's numeric range are returned
      precision - the address of an integer into which the numeric precision of the implementation is written
      See Also:
    • glGetShaderPrecisionFormat

      public static int glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range)
      Retrieves the range and precision for numeric formats supported by the shader compiler.
      Parameters:
      shadertype - the type of shader whose precision to query. One of:
      VERTEX_SHADERFRAGMENT_SHADER
      precisiontype - the numeric format whose precision and range to query
      range - the address of array of two integers into which encodings of the implementation's numeric range are returned
      See Also:
    • glDepthRangef

      public static void glDepthRangef(float zNear, float zFar)
      Specifies mapping of depth values from normalized device coordinates to window coordinates
      Parameters:
      zNear - the mapping of the near clipping plane to window coordinates. The initial value is 0.0f.
      zFar - the mapping of the far clipping plane to window coordinates. The initial value is 1.0f.
      See Also:
    • glClearDepthf

      public static void glClearDepthf(float depth)
      Specifies the clear value for the depth buffer
      Parameters:
      depth - the depth value used when the depth buffer is cleared. The initial value is 1.0f.
      See Also:
    • nglGetProgramBinary

      public static void nglGetProgramBinary(int program, int bufSize, long length, long binaryFormat, long binary)
      Unsafe version of: GetProgramBinary
      Parameters:
      bufSize - the size of the buffer whose address is given by binary
    • glGetProgramBinary

      public static void glGetProgramBinary(int program, @Nullable IntBuffer length, IntBuffer binaryFormat, ByteBuffer binary)
      Returns a binary representation of a program object's compiled and linked executable source.
      Parameters:
      program - the name of a program object whose binary representation to retrieve
      length - the address of a variable to receive the number of bytes written into binary
      binaryFormat - a variable to receive a token indicating the format of the binary data returned by the GL
      binary - an array into which the GL will return program's binary representation
      See Also:
    • nglProgramBinary

      public static void nglProgramBinary(int program, int binaryFormat, long binary, int length)
      Unsafe version of: ProgramBinary
      Parameters:
      length - the number of bytes contained in binary
    • glProgramBinary

      public static void glProgramBinary(int program, int binaryFormat, ByteBuffer binary)
      Loads a program object with a program binary.
      Parameters:
      program - the name of a program object into which to load a program binary
      binaryFormat - the format of the binary data in binary
      binary - an array containing the binary to be loaded into program
      See Also:
    • glProgramParameteri

      public static void glProgramParameteri(int program, int pname, int value)
      Specifies the integer value of a program object parameter.
      Parameters:
      program - the name of a program object whose parameter to modify
      pname - the name of the parameter to modify. One of:
      PROGRAM_BINARY_RETRIEVABLE_HINTPROGRAM_SEPARABLE
      value - the new value of the parameter specified by pname for program
      See Also:
    • glUseProgramStages

      public static void glUseProgramStages(int pipeline, int stages, int program)
      Binds stages of a program object to a program pipeline.
      Parameters:
      pipeline - the program pipeline object to which to bind stages from program
      stages - a set of program stages to bind to the program pipeline object
      program - the program object containing the shader executables to use in pipeline
      See Also:
    • glActiveShaderProgram

      public static void glActiveShaderProgram(int pipeline, int program)
      Sets the active program object for a program pipeline object.
      Parameters:
      pipeline - the program pipeline object to set the active program object for
      program - the program object to set as the active program pipeline object pipeline
      See Also:
    • nglCreateShaderProgramv

      public static int nglCreateShaderProgramv(int type, int count, long strings)
      Unsafe version of: CreateShaderProgramv
      Parameters:
      count - the number of source code strings in the array strings
    • glCreateShaderProgramv

      public static int glCreateShaderProgramv(int type, org.lwjgl.PointerBuffer strings)
      Creates a stand-alone program from an array of null-terminated source code strings.

      glCreateShaderProgram is equivalent (assuming no errors are generated) to:

      
       const GLuint shader = glCreateShader(type);
       if (shader) {
           glShaderSource(shader, count, strings, NULL);
           glCompileShader(shader);
           const GLuint program = glCreateProgram();
           if (program) {
               GLint compiled = GL_FALSE;
               glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled);
               glProgramParameteri(program, GL_PROGRAM_SEPARABLE, GL_TRUE);
               if (compiled) {
                   glAttachShader(program, shader);
                   glLinkProgram(program);
                   glDetachShader(program, shader);
               }
               // append-shader-info-log-to-program-info-log
           }
           glDeleteShader(shader);
           return program;
       } else {
           return 0;
       }

      The program object created by glCreateShaderProgram has its GL_PROGRAM_SEPARABLE status set to GL_TRUE.

      Parameters:
      type - the type of shader to create
      strings - an array of pointers to source code strings from which to create the program object
      See Also:
    • glCreateShaderProgramv

      public static int glCreateShaderProgramv(int type, CharSequence... strings)
      Creates a stand-alone program from an array of null-terminated source code strings.

      glCreateShaderProgram is equivalent (assuming no errors are generated) to:

      
       const GLuint shader = glCreateShader(type);
       if (shader) {
           glShaderSource(shader, count, strings, NULL);
           glCompileShader(shader);
           const GLuint program = glCreateProgram();
           if (program) {
               GLint compiled = GL_FALSE;
               glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled);
               glProgramParameteri(program, GL_PROGRAM_SEPARABLE, GL_TRUE);
               if (compiled) {
                   glAttachShader(program, shader);
                   glLinkProgram(program);
                   glDetachShader(program, shader);
               }
               // append-shader-info-log-to-program-info-log
           }
           glDeleteShader(shader);
           return program;
       } else {
           return 0;
       }

      The program object created by glCreateShaderProgram has its GL_PROGRAM_SEPARABLE status set to GL_TRUE.

      Parameters:
      type - the type of shader to create
      strings - an array of pointers to source code strings from which to create the program object
      See Also:
    • glCreateShaderProgramv

      public static int glCreateShaderProgramv(int type, CharSequence string)
      Creates a stand-alone program from an array of null-terminated source code strings.

      glCreateShaderProgram is equivalent (assuming no errors are generated) to:

      
       const GLuint shader = glCreateShader(type);
       if (shader) {
           glShaderSource(shader, count, strings, NULL);
           glCompileShader(shader);
           const GLuint program = glCreateProgram();
           if (program) {
               GLint compiled = GL_FALSE;
               glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled);
               glProgramParameteri(program, GL_PROGRAM_SEPARABLE, GL_TRUE);
               if (compiled) {
                   glAttachShader(program, shader);
                   glLinkProgram(program);
                   glDetachShader(program, shader);
               }
               // append-shader-info-log-to-program-info-log
           }
           glDeleteShader(shader);
           return program;
       } else {
           return 0;
       }

      The program object created by glCreateShaderProgram has its GL_PROGRAM_SEPARABLE status set to GL_TRUE.

      Parameters:
      type - the type of shader to create
      See Also:
    • glBindProgramPipeline

      public static void glBindProgramPipeline(int pipeline)
      Binds a program pipeline to the current context.
      Parameters:
      pipeline - the name of the pipeline object to bind to the context
      See Also:
    • nglDeleteProgramPipelines

      public static void nglDeleteProgramPipelines(int n, long pipelines)
      Unsafe version of: DeleteProgramPipelines
      Parameters:
      n - the number of program pipeline objects to delete
    • glDeleteProgramPipelines

      public static void glDeleteProgramPipelines(IntBuffer pipelines)
      Deletes program pipeline objects.
      Parameters:
      pipelines - an array of names of program pipeline objects to delete
      See Also:
    • glDeleteProgramPipelines

      public static void glDeleteProgramPipelines(int pipeline)
      Deletes program pipeline objects.
      See Also:
    • nglGenProgramPipelines

      public static void nglGenProgramPipelines(int n, long pipelines)
      Unsafe version of: GenProgramPipelines
      Parameters:
      n - the number of program pipeline object names to reserve
    • glGenProgramPipelines

      public static void glGenProgramPipelines(IntBuffer pipelines)
      Reserves program pipeline object names.
      Parameters:
      pipelines - an array of into which the reserved names will be written
      See Also:
    • glGenProgramPipelines

      public static int glGenProgramPipelines()
      Reserves program pipeline object names.
      See Also:
    • glIsProgramPipeline

      public static boolean glIsProgramPipeline(int pipeline)
      Determines if a name corresponds to a program pipeline object.
      Parameters:
      pipeline - a value that may be the name of a program pipeline object
      See Also:
    • nglGetProgramPipelineiv

      public static void nglGetProgramPipelineiv(int pipeline, int pname, long params)
      Unsafe version of: GetProgramPipelineiv
    • glGetProgramPipelineiv

      public static void glGetProgramPipelineiv(int pipeline, int pname, IntBuffer params)
      Retrieves properties of a program pipeline object.
      Parameters:
      pipeline - the name of a program pipeline object whose parameter retrieve
      pname - the name of the parameter to retrieve. One of:
      ACTIVE_PROGRAMINFO_LOG_LENGTHVERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADER
      TESS_CONTROL_SHADERTESS_EVALUATION_SHADER
      params - a variable into which will be written the value or values of pname for pipeline
      See Also:
    • glGetProgramPipelinei

      public static int glGetProgramPipelinei(int pipeline, int pname)
      Retrieves properties of a program pipeline object.
      Parameters:
      pipeline - the name of a program pipeline object whose parameter retrieve
      pname - the name of the parameter to retrieve. One of:
      ACTIVE_PROGRAMINFO_LOG_LENGTHVERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADER
      TESS_CONTROL_SHADERTESS_EVALUATION_SHADER
      See Also:
    • glProgramUniform1i

      public static void glProgramUniform1i(int program, int location, int x)
      Specifies the value of an int uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      See Also:
    • glProgramUniform2i

      public static void glProgramUniform2i(int program, int location, int x, int y)
      Specifies the value of an ivec2 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      See Also:
    • glProgramUniform3i

      public static void glProgramUniform3i(int program, int location, int x, int y, int z)
      Specifies the value of an ivec3 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      z - the uniform z value
      See Also:
    • glProgramUniform4i

      public static void glProgramUniform4i(int program, int location, int x, int y, int z, int w)
      Specifies the value of an ivec4 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      z - the uniform z value
      w - the uniform w value
      See Also:
    • glProgramUniform1ui

      public static void glProgramUniform1ui(int program, int location, int x)
      Specifies the value of a uint uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      See Also:
    • glProgramUniform2ui

      public static void glProgramUniform2ui(int program, int location, int x, int y)
      Specifies the value of a uvec2 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      See Also:
    • glProgramUniform3ui

      public static void glProgramUniform3ui(int program, int location, int x, int y, int z)
      Specifies the value of a uvec3 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      z - the uniform z value
      See Also:
    • glProgramUniform4ui

      public static void glProgramUniform4ui(int program, int location, int x, int y, int z, int w)
      Specifies the value of a uvec4 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      z - the uniform z value
      w - the uniform w value
      See Also:
    • glProgramUniform1f

      public static void glProgramUniform1f(int program, int location, float x)
      Specifies the value of a float uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      See Also:
    • glProgramUniform2f

      public static void glProgramUniform2f(int program, int location, float x, float y)
      Specifies the value of a vec2 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      See Also:
    • glProgramUniform3f

      public static void glProgramUniform3f(int program, int location, float x, float y, float z)
      Specifies the value of a vec3 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      z - the uniform z value
      See Also:
    • glProgramUniform4f

      public static void glProgramUniform4f(int program, int location, float x, float y, float z, float w)
      Specifies the value of a vec4 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      z - the uniform z value
      w - the uniform w value
      See Also:
    • glProgramUniform1d

      public static void glProgramUniform1d(int program, int location, double x)
      Specifies the value of a double uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      See Also:
    • glProgramUniform2d

      public static void glProgramUniform2d(int program, int location, double x, double y)
      Specifies the value of a dvec2 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      See Also:
    • glProgramUniform3d

      public static void glProgramUniform3d(int program, int location, double x, double y, double z)
      Specifies the value of a dvec3 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      z - the uniform z value
      See Also:
    • glProgramUniform4d

      public static void glProgramUniform4d(int program, int location, double x, double y, double z, double w)
      Specifies the value of a dvec4 uniform variable for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      x - the uniform x value
      y - the uniform y value
      z - the uniform z value
      w - the uniform w value
      See Also:
    • nglProgramUniform1iv

      public static void nglProgramUniform1iv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform1iv
      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.
    • glProgramUniform1iv

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

      public static void nglProgramUniform2iv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform2iv
      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.
    • glProgramUniform2iv

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

      public static void nglProgramUniform3iv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform3iv
      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.
    • glProgramUniform3iv

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

      public static void nglProgramUniform4iv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform4iv
      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.
    • glProgramUniform4iv

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

      public static void nglProgramUniform1uiv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform1uiv
      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.
    • glProgramUniform1uiv

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

      public static void nglProgramUniform2uiv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform2uiv
      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.
    • glProgramUniform2uiv

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

      public static void nglProgramUniform3uiv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform3uiv
      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.
    • glProgramUniform3uiv

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

      public static void nglProgramUniform4uiv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform4uiv
      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.
    • glProgramUniform4uiv

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

      public static void nglProgramUniform1fv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform1fv
      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.
    • glProgramUniform1fv

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

      public static void nglProgramUniform2fv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform2fv
      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.
    • glProgramUniform2fv

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

      public static void nglProgramUniform3fv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform3fv
      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.
    • glProgramUniform3fv

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

      public static void nglProgramUniform4fv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform4fv
      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.
    • glProgramUniform4fv

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

      public static void nglProgramUniform1dv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform1dv
      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.
    • glProgramUniform1dv

      public static void glProgramUniform1dv(int program, int location, DoubleBuffer value)
      Specifies the value of a single double uniform variable or a double uniform variable array for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      value - an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglProgramUniform2dv

      public static void nglProgramUniform2dv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform2dv
      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.
    • glProgramUniform2dv

      public static void glProgramUniform2dv(int program, int location, DoubleBuffer value)
      Specifies the value of a single dvec2 uniform variable or a dvec2 uniform variable array for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      value - an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglProgramUniform3dv

      public static void nglProgramUniform3dv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform3dv
      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.
    • glProgramUniform3dv

      public static void glProgramUniform3dv(int program, int location, DoubleBuffer value)
      Specifies the value of a single dvec3 uniform variable or a dvec3 uniform variable array for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      value - an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglProgramUniform4dv

      public static void nglProgramUniform4dv(int program, int location, int count, long value)
      Unsafe version of: ProgramUniform4dv
      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.
    • glProgramUniform4dv

      public static void glProgramUniform4dv(int program, int location, DoubleBuffer value)
      Specifies the value of a single dvec4 uniform variable or a dvec4 uniform variable array for a specified program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      location - the location of the uniform variable to be modified
      value - an array of count values that will be used to update the specified uniform variable
      See Also:
    • nglProgramUniformMatrix2fv

      public static void nglProgramUniformMatrix2fv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix2fv
      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.
    • glProgramUniformMatrix2fv

      public static void glProgramUniformMatrix2fv(int program, 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:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix3fv

      public static void nglProgramUniformMatrix3fv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix3fv
      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.
    • glProgramUniformMatrix3fv

      public static void glProgramUniformMatrix3fv(int program, 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:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix4fv

      public static void nglProgramUniformMatrix4fv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix4fv
      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.
    • glProgramUniformMatrix4fv

      public static void glProgramUniformMatrix4fv(int program, 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:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix2dv

      public static void nglProgramUniformMatrix2dv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix2dv
      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.
    • glProgramUniformMatrix2dv

      public static void glProgramUniformMatrix2dv(int program, int location, boolean transpose, DoubleBuffer value)
      Specifies the value of a single dmat2 uniform variable or a dmat2 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix3dv

      public static void nglProgramUniformMatrix3dv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix3dv
      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.
    • glProgramUniformMatrix3dv

      public static void glProgramUniformMatrix3dv(int program, int location, boolean transpose, DoubleBuffer value)
      Specifies the value of a single dmat3 uniform variable or a dmat3 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix4dv

      public static void nglProgramUniformMatrix4dv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix4dv
      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.
    • glProgramUniformMatrix4dv

      public static void glProgramUniformMatrix4dv(int program, int location, boolean transpose, DoubleBuffer value)
      Specifies the value of a single dmat4 uniform variable or a dmat4 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix2x3fv

      public static void nglProgramUniformMatrix2x3fv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix2x3fv
      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.
    • glProgramUniformMatrix2x3fv

      public static void glProgramUniformMatrix2x3fv(int program, int location, boolean transpose, FloatBuffer value)
      Specifies the value of a single mat2x3 uniform variable or a mat2x3 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix3x2fv

      public static void nglProgramUniformMatrix3x2fv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix3x2fv
      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.
    • glProgramUniformMatrix3x2fv

      public static void glProgramUniformMatrix3x2fv(int program, int location, boolean transpose, FloatBuffer value)
      Specifies the value of a single mat3x2 uniform variable or a mat3x2 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix2x4fv

      public static void nglProgramUniformMatrix2x4fv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix2x4fv
      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.
    • glProgramUniformMatrix2x4fv

      public static void glProgramUniformMatrix2x4fv(int program, int location, boolean transpose, FloatBuffer value)
      Specifies the value of a single mat2x4 uniform variable or a mat2x4 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix4x2fv

      public static void nglProgramUniformMatrix4x2fv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix4x2fv
      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.
    • glProgramUniformMatrix4x2fv

      public static void glProgramUniformMatrix4x2fv(int program, int location, boolean transpose, FloatBuffer value)
      Specifies the value of a single mat4x2 uniform variable or a mat4x2 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix3x4fv

      public static void nglProgramUniformMatrix3x4fv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix3x4fv
      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.
    • glProgramUniformMatrix3x4fv

      public static void glProgramUniformMatrix3x4fv(int program, int location, boolean transpose, FloatBuffer value)
      Specifies the value of a single mat3x4 uniform variable or a mat3x4 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix4x3fv

      public static void nglProgramUniformMatrix4x3fv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix4x3fv
      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.
    • glProgramUniformMatrix4x3fv

      public static void glProgramUniformMatrix4x3fv(int program, int location, boolean transpose, FloatBuffer value)
      Specifies the value of a single mat4x3 uniform variable or a mat4x3 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix2x3dv

      public static void nglProgramUniformMatrix2x3dv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix2x3dv
      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.
    • glProgramUniformMatrix2x3dv

      public static void glProgramUniformMatrix2x3dv(int program, int location, boolean transpose, DoubleBuffer value)
      Specifies the value of a single dmat2x3 uniform variable or a dmat2x3 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix3x2dv

      public static void nglProgramUniformMatrix3x2dv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix3x2dv
      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.
    • glProgramUniformMatrix3x2dv

      public static void glProgramUniformMatrix3x2dv(int program, int location, boolean transpose, DoubleBuffer value)
      Specifies the value of a single dmat3x2 uniform variable or a dmat3x2 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix2x4dv

      public static void nglProgramUniformMatrix2x4dv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix2x4dv
      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.
    • glProgramUniformMatrix2x4dv

      public static void glProgramUniformMatrix2x4dv(int program, int location, boolean transpose, DoubleBuffer value)
      Specifies the value of a single dmat2x4 uniform variable or a dmat2x4 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix4x2dv

      public static void nglProgramUniformMatrix4x2dv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix4x2dv
      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.
    • glProgramUniformMatrix4x2dv

      public static void glProgramUniformMatrix4x2dv(int program, int location, boolean transpose, DoubleBuffer value)
      Specifies the value of a single dmat4x2 uniform variable or a dmat4x2 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix3x4dv

      public static void nglProgramUniformMatrix3x4dv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix3x4dv
      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.
    • glProgramUniformMatrix3x4dv

      public static void glProgramUniformMatrix3x4dv(int program, int location, boolean transpose, DoubleBuffer value)
      Specifies the value of a single dmat3x4 uniform variable or a dmat3x4 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • nglProgramUniformMatrix4x3dv

      public static void nglProgramUniformMatrix4x3dv(int program, int location, int count, boolean transpose, long value)
      Unsafe version of: ProgramUniformMatrix4x3dv
      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.
    • glProgramUniformMatrix4x3dv

      public static void glProgramUniformMatrix4x3dv(int program, int location, boolean transpose, DoubleBuffer value)
      Specifies the value of a single dmat4x3 uniform variable or a dmat4x3 uniform variable array for the current program object.
      Parameters:
      program - the handle of the program containing the uniform variable to be modified
      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 - an array of count values that will be used to update the specified uniform matrix variable
      See Also:
    • glValidateProgramPipeline

      public static void glValidateProgramPipeline(int pipeline)
      Validates a program pipeline object against current GL state.
      Parameters:
      pipeline - the name of a program pipeline object to validate
      See Also:
    • nglGetProgramPipelineInfoLog

      public static void nglGetProgramPipelineInfoLog(int pipeline, int bufSize, long length, long infoLog)
      Unsafe version of: GetProgramPipelineInfoLog
      Parameters:
      bufSize - the maximum number of characters, including the null terminator, that may be written into infoLog
    • glGetProgramPipelineInfoLog

      public static void glGetProgramPipelineInfoLog(int pipeline, @Nullable IntBuffer length, ByteBuffer infoLog)
      Retrieves the info log string from a program pipeline object.
      Parameters:
      pipeline - the name of a program pipeline object from which to retrieve the info log
      length - a variable into which will be written the number of characters written into infoLog
      infoLog - an array of characters into which will be written the info log for pipeline
      See Also:
    • glGetProgramPipelineInfoLog

      public static String glGetProgramPipelineInfoLog(int pipeline, int bufSize)
      Retrieves the info log string from a program pipeline object.
      Parameters:
      pipeline - the name of a program pipeline object from which to retrieve the info log
      bufSize - the maximum number of characters, including the null terminator, that may be written into infoLog
      See Also:
    • glGetProgramPipelineInfoLog

      public static String glGetProgramPipelineInfoLog(int pipeline)
      Retrieves the info log string from a program pipeline object.
      Parameters:
      pipeline - the name of a program pipeline object from which to retrieve the info log
      See Also:
    • glVertexAttribL1d

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

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

      public static void glVertexAttribL3d(int index, double x, double y, double z)
      Specifies the value of a generic vertex attribute. The w is implicitly set to 1.0.
      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
      See Also:
    • glVertexAttribL4d

      public static void glVertexAttribL4d(int index, double x, double y, double z, double w)
      Specifies the value of a generic vertex attribute.
      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:
    • nglVertexAttribL1dv

      public static void nglVertexAttribL1dv(int index, long v)
      Unsafe version of: VertexAttribL1dv
    • glVertexAttribL1dv

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

      public static void nglVertexAttribL2dv(int index, long v)
      Unsafe version of: VertexAttribL2dv
    • glVertexAttribL2dv

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

      public static void nglVertexAttribL3dv(int index, long v)
      Unsafe version of: VertexAttribL3dv
    • glVertexAttribL3dv

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

      public static void nglVertexAttribL4dv(int index, long v)
      Unsafe version of: VertexAttribL4dv
    • glVertexAttribL4dv

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

      public static void nglVertexAttribLPointer(int index, int size, int type, int stride, long pointer)
      Unsafe version of: VertexAttribLPointer
      Parameters:
      type - the data type of each component in the array. Must be:
      DOUBLE
    • glVertexAttribLPointer

      public static void glVertexAttribLPointer(int index, int size, int type, int stride, ByteBuffer pointer)
      Specifies the location and organization of a 64-bit 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. Must be:
      DOUBLE
      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:
    • glVertexAttribLPointer

      public static void glVertexAttribLPointer(int index, int size, int type, int stride, long pointer)
      Specifies the location and organization of a 64-bit 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. Must be:
      DOUBLE
      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:
    • glVertexAttribLPointer

      public static void glVertexAttribLPointer(int index, int size, int stride, DoubleBuffer pointer)
      Specifies the location and organization of a 64-bit 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
      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:
    • nglGetVertexAttribLdv

      public static void nglGetVertexAttribLdv(int index, int pname, long params)
      Unsafe version of: GetVertexAttribLdv
    • glGetVertexAttribLdv

      public static void glGetVertexAttribLdv(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 - the requested data
      See Also:
    • nglViewportArrayv

      public static void nglViewportArrayv(int first, int count, long v)
      Unsafe version of: ViewportArrayv
      Parameters:
      count - the number of viewports to set
    • glViewportArrayv

      public static void glViewportArrayv(int first, FloatBuffer v)
      Sets multiple viewports.
      Parameters:
      first - the first viewport to set
      v - an array containing the viewport parameters
      See Also:
    • glViewportIndexedf

      public static void glViewportIndexedf(int index, float x, float y, float w, float h)
      Sets a specified viewport.
      Parameters:
      index - the viewport to set
      x - the left viewport coordinate
      y - the bottom viewport coordinate
      w - the viewport width
      h - the viewport height
      See Also:
    • nglViewportIndexedfv

      public static void nglViewportIndexedfv(int index, long v)
      Unsafe version of: ViewportIndexedfv
    • glViewportIndexedfv

      public static void glViewportIndexedfv(int index, FloatBuffer v)
      Pointer version of ViewportIndexedf.
      Parameters:
      index - the viewport to set
      v - the viewport parameters
      See Also:
    • nglScissorArrayv

      public static void nglScissorArrayv(int first, int count, long v)
      Unsafe version of: ScissorArrayv
      Parameters:
      count - the number of scissor boxes to modify
    • glScissorArrayv

      public static void glScissorArrayv(int first, IntBuffer v)
      Defines the scissor box for multiple viewports.
      Parameters:
      first - the index of the first viewport whose scissor box to modify
      v - an array containing the left, bottom, width and height of each scissor box, in that order
      See Also:
    • glScissorIndexed

      public static void glScissorIndexed(int index, int left, int bottom, int width, int height)
      Defines the scissor box for a specific viewport.
      Parameters:
      index - the index of the viewport whose scissor box to modify
      left - the left scissor box coordinate
      bottom - the bottom scissor box coordinate
      width - the scissor box width
      height - the scissor box height
      See Also:
    • nglScissorIndexedv

      public static void nglScissorIndexedv(int index, long v)
      Unsafe version of: ScissorIndexedv
    • glScissorIndexedv

      public static void glScissorIndexedv(int index, IntBuffer v)
      Pointer version of ScissorIndexed.
      Parameters:
      index - the index of the viewport whose scissor box to modify
      v - an array containing the left, bottom, width and height of each scissor box, in that order
      See Also:
    • nglDepthRangeArrayv

      public static void nglDepthRangeArrayv(int first, int count, long v)
      Unsafe version of: DepthRangeArrayv
      Parameters:
      count - the number of viewports whose depth range to update
    • glDepthRangeArrayv

      public static void glDepthRangeArrayv(int first, DoubleBuffer v)
      Specifies mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports.
      Parameters:
      first - the index of the first viewport whose depth range to update
      v - n array containing the near and far values for the depth range of each modified viewport
      See Also:
    • glDepthRangeIndexed

      public static void glDepthRangeIndexed(int index, double zNear, double zFar)
      Specifies mapping of depth values from normalized device coordinates to window coordinates for a specified viewport.
      Parameters:
      index - the index of the viewport whose depth range to update
      zNear - the mapping of the near clipping plane to window coordinates. The initial value is 0.
      zFar - the mapping of the far clipping plane to window coordinates. The initial value is 1.
      See Also:
    • nglGetFloati_v

      public static void nglGetFloati_v(int target, int index, long data)
      Unsafe version of: GetFloati_v
    • glGetFloati_v

      public static void glGetFloati_v(int target, int index, FloatBuffer data)
      Queries the float value of an indexed state variable.
      Parameters:
      target - the indexed state to query
      index - the index of the element being queried
      data - a scalar or buffer in which to place the returned data
      See Also:
    • glGetFloati

      public static float glGetFloati(int target, int index)
      Queries the float value of an indexed state variable.
      Parameters:
      target - the indexed state to query
      index - the index of the element being queried
      See Also:
    • nglGetDoublei_v

      public static void nglGetDoublei_v(int target, int index, long data)
      Unsafe version of: GetDoublei_v
    • glGetDoublei_v

      public static void glGetDoublei_v(int target, int index, DoubleBuffer data)
      Queries the double value of an indexed state variable.
      Parameters:
      target - the indexed state to query
      index - the index of the element being queried
      data - a scalar or buffer in which to place the returned data
      See Also:
    • glGetDoublei

      public static double glGetDoublei(int target, int index)
      Queries the double value of an indexed state variable.
      Parameters:
      target - the indexed state to query
      index - the index of the element being queried
      See Also:
    • glShaderBinary

      public static void glShaderBinary(int[] shaders, int binaryformat, ByteBuffer binary)
      Array version of: ShaderBinary
      See Also:
    • glGetShaderPrecisionFormat

      public static void glGetShaderPrecisionFormat(int shadertype, int precisiontype, int[] range, int[] precision)
      Array version of: GetShaderPrecisionFormat
      See Also:
    • glGetProgramBinary

      public static void glGetProgramBinary(int program, @Nullable int[] length, int[] binaryFormat, ByteBuffer binary)
      Array version of: GetProgramBinary
      See Also:
    • glDeleteProgramPipelines

      public static void glDeleteProgramPipelines(int[] pipelines)
      Array version of: DeleteProgramPipelines
      See Also:
    • glGenProgramPipelines

      public static void glGenProgramPipelines(int[] pipelines)
      Array version of: GenProgramPipelines
      See Also:
    • glGetProgramPipelineiv

      public static void glGetProgramPipelineiv(int pipeline, int pname, int[] params)
      Array version of: GetProgramPipelineiv
      See Also:
    • glProgramUniform1iv

      public static void glProgramUniform1iv(int program, int location, int[] value)
      Array version of: ProgramUniform1iv
      See Also:
    • glProgramUniform2iv

      public static void glProgramUniform2iv(int program, int location, int[] value)
      Array version of: ProgramUniform2iv
      See Also:
    • glProgramUniform3iv

      public static void glProgramUniform3iv(int program, int location, int[] value)
      Array version of: ProgramUniform3iv
      See Also:
    • glProgramUniform4iv

      public static void glProgramUniform4iv(int program, int location, int[] value)
      Array version of: ProgramUniform4iv
      See Also:
    • glProgramUniform1uiv

      public static void glProgramUniform1uiv(int program, int location, int[] value)
      Array version of: ProgramUniform1uiv
      See Also:
    • glProgramUniform2uiv

      public static void glProgramUniform2uiv(int program, int location, int[] value)
      Array version of: ProgramUniform2uiv
      See Also:
    • glProgramUniform3uiv

      public static void glProgramUniform3uiv(int program, int location, int[] value)
      Array version of: ProgramUniform3uiv
      See Also:
    • glProgramUniform4uiv

      public static void glProgramUniform4uiv(int program, int location, int[] value)
      Array version of: ProgramUniform4uiv
      See Also:
    • glProgramUniform1fv

      public static void glProgramUniform1fv(int program, int location, float[] value)
      Array version of: ProgramUniform1fv
      See Also:
    • glProgramUniform2fv

      public static void glProgramUniform2fv(int program, int location, float[] value)
      Array version of: ProgramUniform2fv
      See Also:
    • glProgramUniform3fv

      public static void glProgramUniform3fv(int program, int location, float[] value)
      Array version of: ProgramUniform3fv
      See Also:
    • glProgramUniform4fv

      public static void glProgramUniform4fv(int program, int location, float[] value)
      Array version of: ProgramUniform4fv
      See Also:
    • glProgramUniform1dv

      public static void glProgramUniform1dv(int program, int location, double[] value)
      Array version of: ProgramUniform1dv
      See Also:
    • glProgramUniform2dv

      public static void glProgramUniform2dv(int program, int location, double[] value)
      Array version of: ProgramUniform2dv
      See Also:
    • glProgramUniform3dv

      public static void glProgramUniform3dv(int program, int location, double[] value)
      Array version of: ProgramUniform3dv
      See Also:
    • glProgramUniform4dv

      public static void glProgramUniform4dv(int program, int location, double[] value)
      Array version of: ProgramUniform4dv
      See Also:
    • glProgramUniformMatrix2fv

      public static void glProgramUniformMatrix2fv(int program, int location, boolean transpose, float[] value)
      Array version of: ProgramUniformMatrix2fv
      See Also:
    • glProgramUniformMatrix3fv

      public static void glProgramUniformMatrix3fv(int program, int location, boolean transpose, float[] value)
      Array version of: ProgramUniformMatrix3fv
      See Also:
    • glProgramUniformMatrix4fv

      public static void glProgramUniformMatrix4fv(int program, int location, boolean transpose, float[] value)
      Array version of: ProgramUniformMatrix4fv
      See Also:
    • glProgramUniformMatrix2dv

      public static void glProgramUniformMatrix2dv(int program, int location, boolean transpose, double[] value)
      Array version of: ProgramUniformMatrix2dv
      See Also:
    • glProgramUniformMatrix3dv

      public static void glProgramUniformMatrix3dv(int program, int location, boolean transpose, double[] value)
      Array version of: ProgramUniformMatrix3dv
      See Also:
    • glProgramUniformMatrix4dv

      public static void glProgramUniformMatrix4dv(int program, int location, boolean transpose, double[] value)
      Array version of: ProgramUniformMatrix4dv
      See Also:
    • glProgramUniformMatrix2x3fv

      public static void glProgramUniformMatrix2x3fv(int program, int location, boolean transpose, float[] value)
      Array version of: ProgramUniformMatrix2x3fv
      See Also:
    • glProgramUniformMatrix3x2fv

      public static void glProgramUniformMatrix3x2fv(int program, int location, boolean transpose, float[] value)
      Array version of: ProgramUniformMatrix3x2fv
      See Also:
    • glProgramUniformMatrix2x4fv

      public static void glProgramUniformMatrix2x4fv(int program, int location, boolean transpose, float[] value)
      Array version of: ProgramUniformMatrix2x4fv
      See Also:
    • glProgramUniformMatrix4x2fv

      public static void glProgramUniformMatrix4x2fv(int program, int location, boolean transpose, float[] value)
      Array version of: ProgramUniformMatrix4x2fv
      See Also:
    • glProgramUniformMatrix3x4fv

      public static void glProgramUniformMatrix3x4fv(int program, int location, boolean transpose, float[] value)
      Array version of: ProgramUniformMatrix3x4fv
      See Also:
    • glProgramUniformMatrix4x3fv

      public static void glProgramUniformMatrix4x3fv(int program, int location, boolean transpose, float[] value)
      Array version of: ProgramUniformMatrix4x3fv
      See Also:
    • glProgramUniformMatrix2x3dv

      public static void glProgramUniformMatrix2x3dv(int program, int location, boolean transpose, double[] value)
      Array version of: ProgramUniformMatrix2x3dv
      See Also:
    • glProgramUniformMatrix3x2dv

      public static void glProgramUniformMatrix3x2dv(int program, int location, boolean transpose, double[] value)
      Array version of: ProgramUniformMatrix3x2dv
      See Also:
    • glProgramUniformMatrix2x4dv

      public static void glProgramUniformMatrix2x4dv(int program, int location, boolean transpose, double[] value)
      Array version of: ProgramUniformMatrix2x4dv
      See Also:
    • glProgramUniformMatrix4x2dv

      public static void glProgramUniformMatrix4x2dv(int program, int location, boolean transpose, double[] value)
      Array version of: ProgramUniformMatrix4x2dv
      See Also:
    • glProgramUniformMatrix3x4dv

      public static void glProgramUniformMatrix3x4dv(int program, int location, boolean transpose, double[] value)
      Array version of: ProgramUniformMatrix3x4dv
      See Also:
    • glProgramUniformMatrix4x3dv

      public static void glProgramUniformMatrix4x3dv(int program, int location, boolean transpose, double[] value)
      Array version of: ProgramUniformMatrix4x3dv
      See Also:
    • glGetProgramPipelineInfoLog

      public static void glGetProgramPipelineInfoLog(int pipeline, @Nullable int[] length, ByteBuffer infoLog)
      Array version of: GetProgramPipelineInfoLog
      See Also:
    • glVertexAttribL1dv

      public static void glVertexAttribL1dv(int index, double[] v)
      Array version of: VertexAttribL1dv
      See Also:
    • glVertexAttribL2dv

      public static void glVertexAttribL2dv(int index, double[] v)
      Array version of: VertexAttribL2dv
      See Also:
    • glVertexAttribL3dv

      public static void glVertexAttribL3dv(int index, double[] v)
      Array version of: VertexAttribL3dv
      See Also:
    • glVertexAttribL4dv

      public static void glVertexAttribL4dv(int index, double[] v)
      Array version of: VertexAttribL4dv
      See Also:
    • glGetVertexAttribLdv

      public static void glGetVertexAttribLdv(int index, int pname, double[] params)
      Array version of: GetVertexAttribLdv
      See Also:
    • glViewportArrayv

      public static void glViewportArrayv(int first, float[] v)
      Array version of: ViewportArrayv
      See Also:
    • glViewportIndexedfv

      public static void glViewportIndexedfv(int index, float[] v)
      Array version of: ViewportIndexedfv
      See Also:
    • glScissorArrayv

      public static void glScissorArrayv(int first, int[] v)
      Array version of: ScissorArrayv
      See Also:
    • glScissorIndexedv

      public static void glScissorIndexedv(int index, int[] v)
      Array version of: ScissorIndexedv
      See Also:
    • glDepthRangeArrayv

      public static void glDepthRangeArrayv(int first, double[] v)
      Array version of: DepthRangeArrayv
      See Also:
    • glGetFloati_v

      public static void glGetFloati_v(int target, int index, float[] data)
      Array version of: GetFloati_v
      See Also:
    • glGetDoublei_v

      public static void glGetDoublei_v(int target, int index, double[] data)
      Array version of: GetDoublei_v
      See Also: