Class GL21

  • Direct Known Subclasses:
    GL30

    public class GL21
    extends GL20
    The OpenGL functionality up to version 2.1. Includes the deprecated symbols of the Compatibility Profile.

    OpenGL 2.1 implementations must support at least revision 1.20 of the OpenGL Shading Language.

    Extensions promoted to core in this release:

    • Method Detail

      • nglUniformMatrix2x3fv

        public static void nglUniformMatrix2x3fv​(int location,
                                                 int count,
                                                 boolean transpose,
                                                 long value)
        Unsafe version of: UniformMatrix2x3fv
        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.
      • glUniformMatrix2x3fv

        public static void glUniformMatrix2x3fv​(int location,
                                                boolean transpose,
                                                java.nio.FloatBuffer value)
        Specifies the value of a single mat2x3 uniform variable or a mat2x3 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
      • nglUniformMatrix3x2fv

        public static void nglUniformMatrix3x2fv​(int location,
                                                 int count,
                                                 boolean transpose,
                                                 long value)
        Unsafe version of: UniformMatrix3x2fv
        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.
      • glUniformMatrix3x2fv

        public static void glUniformMatrix3x2fv​(int location,
                                                boolean transpose,
                                                java.nio.FloatBuffer value)
        Specifies the value of a single mat3x2 uniform variable or a mat3x2 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
      • nglUniformMatrix2x4fv

        public static void nglUniformMatrix2x4fv​(int location,
                                                 int count,
                                                 boolean transpose,
                                                 long value)
        Unsafe version of: UniformMatrix2x4fv
        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.
      • glUniformMatrix2x4fv

        public static void glUniformMatrix2x4fv​(int location,
                                                boolean transpose,
                                                java.nio.FloatBuffer value)
        Specifies the value of a single mat2x4 uniform variable or a mat2x4 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
      • nglUniformMatrix4x2fv

        public static void nglUniformMatrix4x2fv​(int location,
                                                 int count,
                                                 boolean transpose,
                                                 long value)
        Unsafe version of: UniformMatrix4x2fv
        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.
      • glUniformMatrix4x2fv

        public static void glUniformMatrix4x2fv​(int location,
                                                boolean transpose,
                                                java.nio.FloatBuffer value)
        Specifies the value of a single mat4x2 uniform variable or a mat4x2 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
      • nglUniformMatrix3x4fv

        public static void nglUniformMatrix3x4fv​(int location,
                                                 int count,
                                                 boolean transpose,
                                                 long value)
        Unsafe version of: UniformMatrix3x4fv
        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.
      • glUniformMatrix3x4fv

        public static void glUniformMatrix3x4fv​(int location,
                                                boolean transpose,
                                                java.nio.FloatBuffer value)
        Specifies the value of a single mat3x4 uniform variable or a mat3x4 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
      • nglUniformMatrix4x3fv

        public static void nglUniformMatrix4x3fv​(int location,
                                                 int count,
                                                 boolean transpose,
                                                 long value)
        Unsafe version of: UniformMatrix4x3fv
        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.
      • glUniformMatrix4x3fv

        public static void glUniformMatrix4x3fv​(int location,
                                                boolean transpose,
                                                java.nio.FloatBuffer value)
        Specifies the value of a single mat4x3 uniform variable or a mat4x3 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
      • glUniformMatrix2x3fv

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

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

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

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

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

        public static void glUniformMatrix4x3fv​(int location,
                                                boolean transpose,
                                                float[] value)
        Array version of: UniformMatrix4x3fv
        See Also:
        Reference Page