Class ARBVertexType2_10_10_10_REV

java.lang.Object
org.lwjgl.opengl.ARBVertexType2_10_10_10_REV

public class ARBVertexType2_10_10_10_REV extends 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 Details

    • 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:
  • Method Details

    • glVertexP2ui

      public static void glVertexP2ui(int type, int value)
      Packed component version of Vertex2f.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      value - the packed value
    • glVertexP3ui

      public static void glVertexP3ui(int type, int value)
      Packed component version of Vertex3f.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      value - the packed value
    • glVertexP4ui

      public static void glVertexP4ui(int type, int value)
      Packed component version of Vertex4f.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      value - the packed value
    • nglVertexP2uiv

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

      public static void glVertexP2uiv(int type, IntBuffer value)
      Pointer version of VertexP2ui.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      value - the packed value
    • nglVertexP3uiv

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

      public static void glVertexP3uiv(int type, IntBuffer value)
      Pointer version of VertexP3ui.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      value - the packed value
    • nglVertexP4uiv

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

      public static void glVertexP4uiv(int type, IntBuffer value)
      Pointer version of VertexP4ui.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      value - the packed value
    • glTexCoordP1ui

      public static void glTexCoordP1ui(int type, int coords)
      Packed component version of TexCoord1f.
      Parameters:
      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
    • glTexCoordP2ui

      public static void glTexCoordP2ui(int type, int coords)
      Packed component version of TexCoord2f.
      Parameters:
      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
    • glTexCoordP3ui

      public static void glTexCoordP3ui(int type, int coords)
      Packed component version of TexCoord3f.
      Parameters:
      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
    • glTexCoordP4ui

      public static void glTexCoordP4ui(int type, int coords)
      Packed component version of TexCoord4f.
      Parameters:
      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
    • nglTexCoordP1uiv

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

      public static void glTexCoordP1uiv(int type, IntBuffer coords)
      Pointer version of TexCoordP1ui.
      Parameters:
      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
    • nglTexCoordP2uiv

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

      public static void glTexCoordP2uiv(int type, IntBuffer coords)
      Pointer version of TexCoordP2ui.
      Parameters:
      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
    • nglTexCoordP3uiv

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

      public static void glTexCoordP3uiv(int type, IntBuffer coords)
      Pointer version of TexCoordP3ui.
      Parameters:
      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
    • nglTexCoordP4uiv

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

      public static void glTexCoordP4uiv(int type, IntBuffer coords)
      Pointer version of TexCoordP4ui.
      Parameters:
      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
    • 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, 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, 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, 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, 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
    • glNormalP3ui

      public static void glNormalP3ui(int type, int coords)
      Packed component version of Normal3f.
      Parameters:
      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
    • glNormalP3uiv

      public static void glNormalP3uiv(int type, IntBuffer coords)
      Pointer version NormalP3ui.
      Parameters:
      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
    • glColorP3ui

      public static void glColorP3ui(int type, int color)
      Packed component version of Color3f.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      color - the packed value
    • glColorP4ui

      public static void glColorP4ui(int type, int color)
      Packed component version of Color4f.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      color - the packed value
    • nglColorP3uiv

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

      public static void glColorP3uiv(int type, IntBuffer color)
      Pointer version of ColorP3ui.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      color - the packed value
    • nglColorP4uiv

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

      public static void glColorP4uiv(int type, IntBuffer color)
      Pointer version of ColorP4ui.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      color - the packed value
    • glSecondaryColorP3ui

      public static void glSecondaryColorP3ui(int type, int color)
      Packed component version of SecondaryColor3f.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      color - the packed value
    • nglSecondaryColorP3uiv

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

      public static void glSecondaryColorP3uiv(int type, IntBuffer color)
      Pointer version of SecondaryColorP3ui.
      Parameters:
      type - type of packing used on the data. One of:
      INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
      color - the packed value
    • 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, 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, 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, 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, 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