Class ARBVertexType2_10_10_10_REV


  • public class ARBVertexType2_10_10_10_REV
    extends java.lang.Object
    Native bindings to the ARB_vertex_type_2_10_10_10_rev extension.

    This extension adds two new vertex attribute data formats: a signed 2.10.10.10 and an unsigned 2.10.10.10 vertex data format. These vertex data formats describe a 4 component stream which can be used to store normals or other attributes in a quantized form. Normals, tangents, binormals and other vertex attributes can often be specified at reduced precision without introducing noticeable artifacts, reducing the amount of memory and memory bandwidth they consume.

    Promoted to core in OpenGL 3.3.

    • Field Detail

      • GL_INT_2_10_10_10_REV

        public static final int GL_INT_2_10_10_10_REV
        Accepted by the type parameter of VertexAttribPointer, VertexPointer, NormalPointer, ColorPointer, SecondaryColorPointer, TexCoordPointer, VertexAttribP{1234}ui, VertexP*, TexCoordP*, MultiTexCoordP*, NormalP3ui, ColorP*, SecondaryColorP and VertexAttribP*.
        See Also:
        Constant Field Values
    • Method Detail

      • nglVertexP2uiv

        public static void nglVertexP2uiv​(int type,
                                          long value)
        Unsafe version of: VertexP2uiv
      • nglVertexP3uiv

        public static void nglVertexP3uiv​(int type,
                                          long value)
        Unsafe version of: VertexP3uiv
      • nglVertexP4uiv

        public static void nglVertexP4uiv​(int type,
                                          long value)
        Unsafe version of: VertexP4uiv
      • nglTexCoordP1uiv

        public static void nglTexCoordP1uiv​(int type,
                                            long coords)
        Unsafe version of: TexCoordP1uiv
      • nglTexCoordP2uiv

        public static void nglTexCoordP2uiv​(int type,
                                            long coords)
        Unsafe version of: TexCoordP2uiv
      • nglTexCoordP3uiv

        public static void nglTexCoordP3uiv​(int type,
                                            long coords)
        Unsafe version of: TexCoordP3uiv
      • nglTexCoordP4uiv

        public static void nglTexCoordP4uiv​(int type,
                                            long coords)
        Unsafe version of: TexCoordP4uiv
      • glMultiTexCoordP1ui

        public static void glMultiTexCoordP1ui​(int texture,
                                               int type,
                                               int coords)
        Packed component version of MultiTexCoord1f.
        Parameters:
        texture - the coordinate set to be modified
        type - type of packing used on the data. One of:
        typeofpackingusedonthedata
        coords - the packed value
      • glMultiTexCoordP2ui

        public static void glMultiTexCoordP2ui​(int texture,
                                               int type,
                                               int coords)
        Packed component version of MultiTexCoord2f.
        Parameters:
        texture - the coordinate set to be modified
        type - type of packing used on the data. One of:
        typeofpackingusedonthedata
        coords - the packed value
      • glMultiTexCoordP3ui

        public static void glMultiTexCoordP3ui​(int texture,
                                               int type,
                                               int coords)
        Packed component version of MultiTexCoord3f.
        Parameters:
        texture - the coordinate set to be modified
        type - type of packing used on the data. One of:
        typeofpackingusedonthedata
        coords - the packed value
      • glMultiTexCoordP4ui

        public static void glMultiTexCoordP4ui​(int texture,
                                               int type,
                                               int coords)
        Packed component version of MultiTexCoord4f.
        Parameters:
        texture - the coordinate set to be modified
        type - type of packing used on the data. One of:
        typeofpackingusedonthedata
        coords - the packed value
      • nglMultiTexCoordP1uiv

        public static void nglMultiTexCoordP1uiv​(int texture,
                                                 int type,
                                                 long coords)
        Unsafe version of: MultiTexCoordP1uiv
      • glMultiTexCoordP1uiv

        public static void glMultiTexCoordP1uiv​(int texture,
                                                int type,
                                                java.nio.IntBuffer coords)
        Pointer version of MultiTexCoordP1ui.
        Parameters:
        texture - the coordinate set to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        coords - the packed value
      • nglMultiTexCoordP2uiv

        public static void nglMultiTexCoordP2uiv​(int texture,
                                                 int type,
                                                 long coords)
        Unsafe version of: MultiTexCoordP2uiv
      • glMultiTexCoordP2uiv

        public static void glMultiTexCoordP2uiv​(int texture,
                                                int type,
                                                java.nio.IntBuffer coords)
        Pointer version of MultiTexCoordP2ui.
        Parameters:
        texture - the coordinate set to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        coords - the packed value
      • nglMultiTexCoordP3uiv

        public static void nglMultiTexCoordP3uiv​(int texture,
                                                 int type,
                                                 long coords)
        Unsafe version of: MultiTexCoordP3uiv
      • glMultiTexCoordP3uiv

        public static void glMultiTexCoordP3uiv​(int texture,
                                                int type,
                                                java.nio.IntBuffer coords)
        Pointer version of MultiTexCoordP3ui.
        Parameters:
        texture - the coordinate set to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        coords - the packed value
      • nglMultiTexCoordP4uiv

        public static void nglMultiTexCoordP4uiv​(int texture,
                                                 int type,
                                                 long coords)
        Unsafe version of: MultiTexCoordP4uiv
      • glMultiTexCoordP4uiv

        public static void glMultiTexCoordP4uiv​(int texture,
                                                int type,
                                                java.nio.IntBuffer coords)
        Pointer version of MultiTexCoordP4ui.
        Parameters:
        texture - the coordinate set to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        coords - the packed value
      • nglNormalP3uiv

        public static void nglNormalP3uiv​(int type,
                                          long coords)
        Unsafe version of: NormalP3uiv
      • nglColorP3uiv

        public static void nglColorP3uiv​(int type,
                                         long color)
        Unsafe version of: ColorP3uiv
      • nglColorP4uiv

        public static void nglColorP4uiv​(int type,
                                         long color)
        Unsafe version of: ColorP4uiv
      • nglSecondaryColorP3uiv

        public static void nglSecondaryColorP3uiv​(int type,
                                                  long color)
        Unsafe version of: SecondaryColorP3uiv
      • glVertexAttribP1ui

        public static void glVertexAttribP1ui​(int index,
                                              int type,
                                              boolean normalized,
                                              int value)
        Packed component version of VertexAttrib1f.
        Parameters:
        index - the index of the generic vertex attribute to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        normalized - whether values should be normalized or cast directly to floating-point
        value - the packed value
      • glVertexAttribP2ui

        public static void glVertexAttribP2ui​(int index,
                                              int type,
                                              boolean normalized,
                                              int value)
        Packed component version of VertexAttrib2f.
        Parameters:
        index - the index of the generic vertex attribute to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        normalized - whether values should be normalized or cast directly to floating-point
        value - the packed value
      • glVertexAttribP3ui

        public static void glVertexAttribP3ui​(int index,
                                              int type,
                                              boolean normalized,
                                              int value)
        Packed component version of VertexAttrib3f.
        Parameters:
        index - the index of the generic vertex attribute to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        normalized - whether values should be normalized or cast directly to floating-point
        value - the packed value
      • glVertexAttribP4ui

        public static void glVertexAttribP4ui​(int index,
                                              int type,
                                              boolean normalized,
                                              int value)
        Packed component version of VertexAttrib4f.
        Parameters:
        index - the index of the generic vertex attribute to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        normalized - whether values should be normalized or cast directly to floating-point
        value - the packed value
      • nglVertexAttribP1uiv

        public static void nglVertexAttribP1uiv​(int index,
                                                int type,
                                                boolean normalized,
                                                long value)
        Unsafe version of: VertexAttribP1uiv
      • glVertexAttribP1uiv

        public static void glVertexAttribP1uiv​(int index,
                                               int type,
                                               boolean normalized,
                                               java.nio.IntBuffer value)
        Pointer version of VertexAttribP1ui.
        Parameters:
        index - the index of the generic vertex attribute to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        normalized - whether values should be normalized or cast directly to floating-point
        value - the packed value
      • nglVertexAttribP2uiv

        public static void nglVertexAttribP2uiv​(int index,
                                                int type,
                                                boolean normalized,
                                                long value)
        Unsafe version of: VertexAttribP2uiv
      • glVertexAttribP2uiv

        public static void glVertexAttribP2uiv​(int index,
                                               int type,
                                               boolean normalized,
                                               java.nio.IntBuffer value)
        Pointer version of VertexAttribP2ui.
        Parameters:
        index - the index of the generic vertex attribute to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        normalized - whether values should be normalized or cast directly to floating-point
        value - the packed value
      • nglVertexAttribP3uiv

        public static void nglVertexAttribP3uiv​(int index,
                                                int type,
                                                boolean normalized,
                                                long value)
        Unsafe version of: VertexAttribP3uiv
      • glVertexAttribP3uiv

        public static void glVertexAttribP3uiv​(int index,
                                               int type,
                                               boolean normalized,
                                               java.nio.IntBuffer value)
        Pointer version of VertexAttribP3ui.
        Parameters:
        index - the index of the generic vertex attribute to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        normalized - whether values should be normalized or cast directly to floating-point
        value - the packed value
      • nglVertexAttribP4uiv

        public static void nglVertexAttribP4uiv​(int index,
                                                int type,
                                                boolean normalized,
                                                long value)
        Unsafe version of: VertexAttribP4uiv
      • glVertexAttribP4uiv

        public static void glVertexAttribP4uiv​(int index,
                                               int type,
                                               boolean normalized,
                                               java.nio.IntBuffer value)
        Pointer version of VertexAttribP4ui.
        Parameters:
        index - the index of the generic vertex attribute to be modified
        type - type of packing used on the data. One of:
        INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
        normalized - whether values should be normalized or cast directly to floating-point
        value - the packed value
      • glVertexP2uiv

        public static void glVertexP2uiv​(int type,
                                         int[] value)
        Array version of: VertexP2uiv
      • glVertexP3uiv

        public static void glVertexP3uiv​(int type,
                                         int[] value)
        Array version of: VertexP3uiv
      • glVertexP4uiv

        public static void glVertexP4uiv​(int type,
                                         int[] value)
        Array version of: VertexP4uiv
      • glTexCoordP1uiv

        public static void glTexCoordP1uiv​(int type,
                                           int[] coords)
        Array version of: TexCoordP1uiv
      • glTexCoordP2uiv

        public static void glTexCoordP2uiv​(int type,
                                           int[] coords)
        Array version of: TexCoordP2uiv
      • glTexCoordP3uiv

        public static void glTexCoordP3uiv​(int type,
                                           int[] coords)
        Array version of: TexCoordP3uiv
      • glTexCoordP4uiv

        public static void glTexCoordP4uiv​(int type,
                                           int[] coords)
        Array version of: TexCoordP4uiv
      • glMultiTexCoordP1uiv

        public static void glMultiTexCoordP1uiv​(int texture,
                                                int type,
                                                int[] coords)
        Array version of: MultiTexCoordP1uiv
      • glMultiTexCoordP2uiv

        public static void glMultiTexCoordP2uiv​(int texture,
                                                int type,
                                                int[] coords)
        Array version of: MultiTexCoordP2uiv
      • glMultiTexCoordP3uiv

        public static void glMultiTexCoordP3uiv​(int texture,
                                                int type,
                                                int[] coords)
        Array version of: MultiTexCoordP3uiv
      • glMultiTexCoordP4uiv

        public static void glMultiTexCoordP4uiv​(int texture,
                                                int type,
                                                int[] coords)
        Array version of: MultiTexCoordP4uiv
      • glNormalP3uiv

        public static void glNormalP3uiv​(int type,
                                         int[] coords)
        Array version of: NormalP3uiv
      • glColorP3uiv

        public static void glColorP3uiv​(int type,
                                        int[] color)
        Array version of: ColorP3uiv
      • glColorP4uiv

        public static void glColorP4uiv​(int type,
                                        int[] color)
        Array version of: ColorP4uiv
      • glSecondaryColorP3uiv

        public static void glSecondaryColorP3uiv​(int type,
                                                 int[] color)
        Array version of: SecondaryColorP3uiv
      • glVertexAttribP1uiv

        public static void glVertexAttribP1uiv​(int index,
                                               int type,
                                               boolean normalized,
                                               int[] value)
        Array version of: VertexAttribP1uiv
      • glVertexAttribP2uiv

        public static void glVertexAttribP2uiv​(int index,
                                               int type,
                                               boolean normalized,
                                               int[] value)
        Array version of: VertexAttribP2uiv
      • glVertexAttribP3uiv

        public static void glVertexAttribP3uiv​(int index,
                                               int type,
                                               boolean normalized,
                                               int[] value)
        Array version of: VertexAttribP3uiv
      • glVertexAttribP4uiv

        public static void glVertexAttribP4uiv​(int index,
                                               int type,
                                               boolean normalized,
                                               int[] value)
        Array version of: VertexAttribP4uiv