Class GL20C

    • Method Detail

      • glCreateProgram

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

        public static void glDeleteProgram​(int program)
        Deletes a program object.
        Parameters:
        program - the program object to be deleted
        See Also:
        Reference Page
      • 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:
        Reference Page
      • glDeleteShader

        public static void glDeleteShader​(int shader)
        Deletes a shader object.
        Parameters:
        shader - the shader object to be deleted
        See Also:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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
                                          java.nio.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:
        Reference Page
      • glShaderSource

        public static void glShaderSource​(int shader,
                                          java.lang.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:
        Reference Page
      • glShaderSource

        public static void glShaderSource​(int shader,
                                          java.lang.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:
        Reference Page
      • glCompileShader

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

        public static void glLinkProgram​(int program)
        Links a program object.
        Parameters:
        program - the program object to be linked
        See Also:
        Reference Page
      • 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:
        Reference Page
      • glValidateProgram

        public static void glValidateProgram​(int program)
        Validates a program object.
        Parameters:
        program - the program object to be validated
        See Also:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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,
                                        java.nio.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:
        Reference Page
      • 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,
                                        java.nio.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:
        Reference Page
      • 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,
                                        java.nio.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:
        Reference Page
      • 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,
                                        java.nio.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:
        Reference Page
      • 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,
                                        java.nio.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:
        Reference Page
      • 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,
                                        java.nio.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:
        Reference Page
      • 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,
                                        java.nio.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:
        Reference Page
      • 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,
                                        java.nio.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:
        Reference Page
      • 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,
                                              java.nio.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:
        Reference Page
      • 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,
                                              java.nio.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:
        Reference Page
      • 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,
                                              java.nio.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:
        Reference Page
      • nglGetShaderiv

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

        public static void nglGetProgramiv​(int program,
                                           int pname,
                                           long params)
        Unsafe version of: GetProgramiv
      • 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
                                              java.nio.IntBuffer length,
                                              java.nio.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:
        Reference Page
      • glGetShaderInfoLog

        public static java.lang.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:
        Reference Page
      • glGetShaderInfoLog

        public static java.lang.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:
        Reference Page
      • 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
                                               java.nio.IntBuffer length,
                                               java.nio.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:
        Reference Page
      • glGetProgramInfoLog

        public static java.lang.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:
        Reference Page
      • glGetProgramInfoLog

        public static java.lang.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:
        Reference Page
      • 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
                                                java.nio.IntBuffer count,
                                                java.nio.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:
        Reference Page
      • nglGetUniformLocation

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

        public static int glGetUniformLocation​(int program,
                                               java.nio.ByteBuffer name)
        
        public static int glGetUniformLocation​(int program,
                                               java.lang.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:
        Reference Page
      • 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
                                              java.nio.IntBuffer length,
                                              java.nio.IntBuffer size,
                                              java.nio.IntBuffer type,
                                              java.nio.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:
        Reference Page
      • glGetActiveUniform

        public static java.lang.String glGetActiveUniform​(int program,
                                                          int index,
                                                          int maxLength,
                                                          java.nio.IntBuffer size,
                                                          java.nio.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:
        Reference Page
      • glGetActiveUniform

        public static java.lang.String glGetActiveUniform​(int program,
                                                          int index,
                                                          java.nio.IntBuffer size,
                                                          java.nio.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:
        Reference Page
      • nglGetUniformfv

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

        public static void glGetUniformfv​(int program,
                                          int location,
                                          java.nio.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:
        Reference Page
      • 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:
        Reference Page
      • nglGetUniformiv

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

        public static void glGetUniformiv​(int program,
                                          int location,
                                          java.nio.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:
        Reference Page
      • 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:
        Reference Page
      • 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
                                             java.nio.IntBuffer length,
                                             java.nio.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:
        Reference Page
      • glGetShaderSource

        public static java.lang.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:
        Reference Page
      • glGetShaderSource

        public static java.lang.String glGetShaderSource​(int shader)
        Returns the source code string from a shader object.
        Parameters:
        shader - the shader object to be queried
        See Also:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • nglVertexAttrib1fv

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

        public static void glVertexAttrib1fv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib1sv

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

        public static void glVertexAttrib1sv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib1dv

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

        public static void glVertexAttrib1dv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib2fv

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

        public static void glVertexAttrib2fv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib2sv

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

        public static void glVertexAttrib2sv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib2dv

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

        public static void glVertexAttrib2dv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib3fv

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

        public static void glVertexAttrib3fv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib3sv

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

        public static void glVertexAttrib3sv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib3dv

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

        public static void glVertexAttrib3dv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib4fv

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

        public static void glVertexAttrib4fv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib4sv

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

        public static void glVertexAttrib4sv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib4dv

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

        public static void glVertexAttrib4dv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib4iv

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

        public static void glVertexAttrib4iv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib4bv

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

        public static void glVertexAttrib4bv​(int index,
                                             java.nio.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:
        Reference Page
      • nglVertexAttrib4ubv

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

        public static void glVertexAttrib4ubv​(int index,
                                              java.nio.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:
        Reference Page
      • nglVertexAttrib4usv

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

        public static void glVertexAttrib4usv​(int index,
                                              java.nio.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:
        Reference Page
      • nglVertexAttrib4uiv

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

        public static void glVertexAttrib4uiv​(int index,
                                              java.nio.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:
        Reference Page
      • nglVertexAttrib4Nbv

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

        public static void glVertexAttrib4Nbv​(int index,
                                              java.nio.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:
        Reference Page
      • nglVertexAttrib4Nsv

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

        public static void glVertexAttrib4Nsv​(int index,
                                              java.nio.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:
        Reference Page
      • nglVertexAttrib4Niv

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

        public static void glVertexAttrib4Niv​(int index,
                                              java.nio.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:
        Reference Page
      • nglVertexAttrib4Nubv

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

        public static void glVertexAttrib4Nubv​(int index,
                                               java.nio.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:
        Reference Page
      • nglVertexAttrib4Nusv

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

        public static void glVertexAttrib4Nusv​(int index,
                                               java.nio.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:
        Reference Page
      • nglVertexAttrib4Nuiv

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

        public static void glVertexAttrib4Nuiv​(int index,
                                               java.nio.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:
        Reference Page
      • 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,
                                                 java.nio.ByteBuffer pointer)
        
        public static void glVertexAttribPointer​(int index,
                                                 int size,
                                                 int type,
                                                 boolean normalized,
                                                 int stride,
                                                 long pointer)
        
        public static void glVertexAttribPointer​(int index,
                                                 int size,
                                                 int type,
                                                 boolean normalized,
                                                 int stride,
                                                 java.nio.ShortBuffer pointer)
        
        public static void glVertexAttribPointer​(int index,
                                                 int size,
                                                 int type,
                                                 boolean normalized,
                                                 int stride,
                                                 java.nio.IntBuffer pointer)
        
        public static void glVertexAttribPointer​(int index,
                                                 int size,
                                                 int type,
                                                 boolean normalized,
                                                 int stride,
                                                 java.nio.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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • nglBindAttribLocation

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

        public static void glBindAttribLocation​(int program,
                                                int index,
                                                java.nio.ByteBuffer name)
        
        public static void glBindAttribLocation​(int program,
                                                int index,
                                                java.lang.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:
        Reference Page
      • 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
                                             java.nio.IntBuffer length,
                                             java.nio.IntBuffer size,
                                             java.nio.IntBuffer type,
                                             java.nio.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:
        Reference Page
      • glGetActiveAttrib

        public static java.lang.String glGetActiveAttrib​(int program,
                                                         int index,
                                                         int maxLength,
                                                         java.nio.IntBuffer size,
                                                         java.nio.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:
        Reference Page
      • glGetActiveAttrib

        public static java.lang.String glGetActiveAttrib​(int program,
                                                         int index,
                                                         java.nio.IntBuffer size,
                                                         java.nio.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:
        Reference Page
      • nglGetAttribLocation

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

        public static int glGetAttribLocation​(int program,
                                              java.nio.ByteBuffer name)
        
        public static int glGetAttribLocation​(int program,
                                              java.lang.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:
        Reference Page
      • nglGetVertexAttribiv

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

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

        public static void glGetVertexAttribfv​(int index,
                                               int pname,
                                               java.nio.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:
        Reference Page
      • nglGetVertexAttribdv

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

        public static void glGetVertexAttribdv​(int index,
                                               int pname,
                                               java.nio.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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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​(java.nio.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:
        Reference Page
      • glDrawBuffers

        public static void glDrawBuffers​(int buf)
        Specifies a list of color buffers to be drawn into.
        See Also:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • 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:
        Reference Page
      • glUniform1fv

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static void glGetShaderSource​(int shader,
                                             @Nullable
                                             int[] length,
                                             java.nio.ByteBuffer source)
        Array version of: GetShaderSource
        See Also:
        Reference Page
      • glVertexAttrib1dv

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

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

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

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

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

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

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

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