Package org.lwjgl.opengl
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 java.lang.ObjectNative 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 Summary
Fields Modifier and Type Field and Description static intGL_INT_2_10_10_10_REVAccepted by thetypeparameter of VertexAttribPointer, VertexPointer, NormalPointer, ColorPointer, SecondaryColorPointer, TexCoordPointer, VertexAttribP{1234}ui, VertexP*, TexCoordP*, MultiTexCoordP*, NormalP3ui, ColorP*, SecondaryColorP and VertexAttribP*.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglColorP3ui(int type, int color)Packed component version ofColor3f.static voidglColorP3uiv(int type, int[] color)Array version of:ColorP3uivstatic voidglColorP3uiv(int type, java.nio.IntBuffer color)Pointer version ofColorP3ui.static voidglColorP4ui(int type, int color)Packed component version ofColor4f.static voidglColorP4uiv(int type, int[] color)Array version of:ColorP4uivstatic voidglColorP4uiv(int type, java.nio.IntBuffer color)Pointer version ofColorP4ui.static voidglMultiTexCoordP1ui(int texture, int type, int coords)Packed component version ofMultiTexCoord1f.static voidglMultiTexCoordP1uiv(int texture, int type, int[] coords)Array version of:MultiTexCoordP1uivstatic voidglMultiTexCoordP1uiv(int texture, int type, java.nio.IntBuffer coords)Pointer version ofMultiTexCoordP1ui.static voidglMultiTexCoordP2ui(int texture, int type, int coords)Packed component version ofMultiTexCoord2f.static voidglMultiTexCoordP2uiv(int texture, int type, int[] coords)Array version of:MultiTexCoordP2uivstatic voidglMultiTexCoordP2uiv(int texture, int type, java.nio.IntBuffer coords)Pointer version ofMultiTexCoordP2ui.static voidglMultiTexCoordP3ui(int texture, int type, int coords)Packed component version ofMultiTexCoord3f.static voidglMultiTexCoordP3uiv(int texture, int type, int[] coords)Array version of:MultiTexCoordP3uivstatic voidglMultiTexCoordP3uiv(int texture, int type, java.nio.IntBuffer coords)Pointer version ofMultiTexCoordP3ui.static voidglMultiTexCoordP4ui(int texture, int type, int coords)Packed component version ofMultiTexCoord4f.static voidglMultiTexCoordP4uiv(int texture, int type, int[] coords)Array version of:MultiTexCoordP4uivstatic voidglMultiTexCoordP4uiv(int texture, int type, java.nio.IntBuffer coords)Pointer version ofMultiTexCoordP4ui.static voidglNormalP3ui(int type, int coords)Packed component version ofNormal3f.static voidglNormalP3uiv(int type, int[] coords)Array version of:NormalP3uivstatic voidglNormalP3uiv(int type, java.nio.IntBuffer coords)Pointer versionNormalP3ui.static voidglSecondaryColorP3ui(int type, int color)Packed component version ofSecondaryColor3f.static voidglSecondaryColorP3uiv(int type, int[] color)Array version of:SecondaryColorP3uivstatic voidglSecondaryColorP3uiv(int type, java.nio.IntBuffer color)Pointer version ofSecondaryColorP3ui.static voidglTexCoordP1ui(int type, int coords)Packed component version ofTexCoord1f.static voidglTexCoordP1uiv(int type, int[] coords)Array version of:TexCoordP1uivstatic voidglTexCoordP1uiv(int type, java.nio.IntBuffer coords)Pointer version ofTexCoordP1ui.static voidglTexCoordP2ui(int type, int coords)Packed component version ofTexCoord2f.static voidglTexCoordP2uiv(int type, int[] coords)Array version of:TexCoordP2uivstatic voidglTexCoordP2uiv(int type, java.nio.IntBuffer coords)Pointer version ofTexCoordP2ui.static voidglTexCoordP3ui(int type, int coords)Packed component version ofTexCoord3f.static voidglTexCoordP3uiv(int type, int[] coords)Array version of:TexCoordP3uivstatic voidglTexCoordP3uiv(int type, java.nio.IntBuffer coords)Pointer version ofTexCoordP3ui.static voidglTexCoordP4ui(int type, int coords)Packed component version ofTexCoord4f.static voidglTexCoordP4uiv(int type, int[] coords)Array version of:TexCoordP4uivstatic voidglTexCoordP4uiv(int type, java.nio.IntBuffer coords)Pointer version ofTexCoordP4ui.static voidglVertexAttribP1ui(int index, int type, boolean normalized, int value)Packed component version ofVertexAttrib1f.static voidglVertexAttribP1uiv(int index, int type, boolean normalized, int[] value)Array version of:VertexAttribP1uivstatic voidglVertexAttribP1uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)Pointer version ofVertexAttribP1ui.static voidglVertexAttribP2ui(int index, int type, boolean normalized, int value)Packed component version ofVertexAttrib2f.static voidglVertexAttribP2uiv(int index, int type, boolean normalized, int[] value)Array version of:VertexAttribP2uivstatic voidglVertexAttribP2uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)Pointer version ofVertexAttribP2ui.static voidglVertexAttribP3ui(int index, int type, boolean normalized, int value)Packed component version ofVertexAttrib3f.static voidglVertexAttribP3uiv(int index, int type, boolean normalized, int[] value)Array version of:VertexAttribP3uivstatic voidglVertexAttribP3uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)Pointer version ofVertexAttribP3ui.static voidglVertexAttribP4ui(int index, int type, boolean normalized, int value)Packed component version ofVertexAttrib4f.static voidglVertexAttribP4uiv(int index, int type, boolean normalized, int[] value)Array version of:VertexAttribP4uivstatic voidglVertexAttribP4uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)Pointer version ofVertexAttribP4ui.static voidglVertexP2ui(int type, int value)Packed component version ofVertex2f.static voidglVertexP2uiv(int type, int[] value)Array version of:VertexP2uivstatic voidglVertexP2uiv(int type, java.nio.IntBuffer value)Pointer version ofVertexP2ui.static voidglVertexP3ui(int type, int value)Packed component version ofVertex3f.static voidglVertexP3uiv(int type, int[] value)Array version of:VertexP3uivstatic voidglVertexP3uiv(int type, java.nio.IntBuffer value)Pointer version ofVertexP3ui.static voidglVertexP4ui(int type, int value)Packed component version ofVertex4f.static voidglVertexP4uiv(int type, int[] value)Array version of:VertexP4uivstatic voidglVertexP4uiv(int type, java.nio.IntBuffer value)Pointer version ofVertexP4ui.
-
-
-
Field Detail
-
GL_INT_2_10_10_10_REV
public static final int GL_INT_2_10_10_10_REV
Accepted by thetypeparameter 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
-
glVertexP2ui
public static void glVertexP2ui(int type, int value)Packed component version ofVertex2f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVvalue- the packed value
-
glVertexP3ui
public static void glVertexP3ui(int type, int value)Packed component version ofVertex3f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVvalue- the packed value
-
glVertexP4ui
public static void glVertexP4ui(int type, int value)Packed component version ofVertex4f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVvalue- the packed value
-
glVertexP2uiv
public static void glVertexP2uiv(int type, java.nio.IntBuffer value)Pointer version ofVertexP2ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVvalue- the packed value
-
glVertexP3uiv
public static void glVertexP3uiv(int type, java.nio.IntBuffer value)Pointer version ofVertexP3ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVvalue- the packed value
-
glVertexP4uiv
public static void glVertexP4uiv(int type, java.nio.IntBuffer value)Pointer version ofVertexP4ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVvalue- the packed value
-
glTexCoordP1ui
public static void glTexCoordP1ui(int type, int coords)Packed component version ofTexCoord1f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glTexCoordP2ui
public static void glTexCoordP2ui(int type, int coords)Packed component version ofTexCoord2f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glTexCoordP3ui
public static void glTexCoordP3ui(int type, int coords)Packed component version ofTexCoord3f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glTexCoordP4ui
public static void glTexCoordP4ui(int type, int coords)Packed component version ofTexCoord4f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glTexCoordP1uiv
public static void glTexCoordP1uiv(int type, java.nio.IntBuffer coords)Pointer version ofTexCoordP1ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glTexCoordP2uiv
public static void glTexCoordP2uiv(int type, java.nio.IntBuffer coords)Pointer version ofTexCoordP2ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glTexCoordP3uiv
public static void glTexCoordP3uiv(int type, java.nio.IntBuffer coords)Pointer version ofTexCoordP3ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glTexCoordP4uiv
public static void glTexCoordP4uiv(int type, java.nio.IntBuffer coords)Pointer version ofTexCoordP4ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glMultiTexCoordP1ui
public static void glMultiTexCoordP1ui(int texture, int type, int coords)Packed component version ofMultiTexCoord1f.- Parameters:
texture- the coordinate set to be modifiedtype- type of packing used on the data. One of:type of packing used on the data coords- the packed value
-
glMultiTexCoordP2ui
public static void glMultiTexCoordP2ui(int texture, int type, int coords)Packed component version ofMultiTexCoord2f.- Parameters:
texture- the coordinate set to be modifiedtype- type of packing used on the data. One of:type of packing used on the data coords- the packed value
-
glMultiTexCoordP3ui
public static void glMultiTexCoordP3ui(int texture, int type, int coords)Packed component version ofMultiTexCoord3f.- Parameters:
texture- the coordinate set to be modifiedtype- type of packing used on the data. One of:type of packing used on the data coords- the packed value
-
glMultiTexCoordP4ui
public static void glMultiTexCoordP4ui(int texture, int type, int coords)Packed component version ofMultiTexCoord4f.- Parameters:
texture- the coordinate set to be modifiedtype- type of packing used on the data. One of:type of packing used on the data coords- the packed value
-
glMultiTexCoordP1uiv
public static void glMultiTexCoordP1uiv(int texture, int type, java.nio.IntBuffer coords)Pointer version ofMultiTexCoordP1ui.- Parameters:
texture- the coordinate set to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glMultiTexCoordP2uiv
public static void glMultiTexCoordP2uiv(int texture, int type, java.nio.IntBuffer coords)Pointer version ofMultiTexCoordP2ui.- Parameters:
texture- the coordinate set to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glMultiTexCoordP3uiv
public static void glMultiTexCoordP3uiv(int texture, int type, java.nio.IntBuffer coords)Pointer version ofMultiTexCoordP3ui.- Parameters:
texture- the coordinate set to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glMultiTexCoordP4uiv
public static void glMultiTexCoordP4uiv(int texture, int type, java.nio.IntBuffer coords)Pointer version ofMultiTexCoordP4ui.- Parameters:
texture- the coordinate set to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glNormalP3ui
public static void glNormalP3ui(int type, int coords)Packed component version ofNormal3f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glNormalP3uiv
public static void glNormalP3uiv(int type, java.nio.IntBuffer coords)Pointer versionNormalP3ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcoords- the packed value
-
glColorP3ui
public static void glColorP3ui(int type, int color)Packed component version ofColor3f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcolor- the packed value
-
glColorP4ui
public static void glColorP4ui(int type, int color)Packed component version ofColor4f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcolor- the packed value
-
glColorP3uiv
public static void glColorP3uiv(int type, java.nio.IntBuffer color)Pointer version ofColorP3ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcolor- the packed value
-
glColorP4uiv
public static void glColorP4uiv(int type, java.nio.IntBuffer color)Pointer version ofColorP4ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcolor- the packed value
-
glSecondaryColorP3ui
public static void glSecondaryColorP3ui(int type, int color)Packed component version ofSecondaryColor3f.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcolor- the packed value
-
glSecondaryColorP3uiv
public static void glSecondaryColorP3uiv(int type, java.nio.IntBuffer color)Pointer version ofSecondaryColorP3ui.- Parameters:
type- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVcolor- the packed value
-
glVertexAttribP1ui
public static void glVertexAttribP1ui(int index, int type, boolean normalized, int value)Packed component version ofVertexAttrib1f.- Parameters:
index- the index of the generic vertex attribute to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVnormalized- whether values should be normalized or cast directly to floating-pointvalue- the packed value
-
glVertexAttribP2ui
public static void glVertexAttribP2ui(int index, int type, boolean normalized, int value)Packed component version ofVertexAttrib2f.- Parameters:
index- the index of the generic vertex attribute to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVnormalized- whether values should be normalized or cast directly to floating-pointvalue- the packed value
-
glVertexAttribP3ui
public static void glVertexAttribP3ui(int index, int type, boolean normalized, int value)Packed component version ofVertexAttrib3f.- Parameters:
index- the index of the generic vertex attribute to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVnormalized- whether values should be normalized or cast directly to floating-pointvalue- the packed value
-
glVertexAttribP4ui
public static void glVertexAttribP4ui(int index, int type, boolean normalized, int value)Packed component version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVnormalized- whether values should be normalized or cast directly to floating-pointvalue- the packed value
-
glVertexAttribP1uiv
public static void glVertexAttribP1uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)Pointer version ofVertexAttribP1ui.- Parameters:
index- the index of the generic vertex attribute to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVnormalized- whether values should be normalized or cast directly to floating-pointvalue- the packed value
-
glVertexAttribP2uiv
public static void glVertexAttribP2uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)Pointer version ofVertexAttribP2ui.- Parameters:
index- the index of the generic vertex attribute to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVnormalized- whether values should be normalized or cast directly to floating-pointvalue- the packed value
-
glVertexAttribP3uiv
public static void glVertexAttribP3uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)Pointer version ofVertexAttribP3ui.- Parameters:
index- the index of the generic vertex attribute to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVnormalized- whether values should be normalized or cast directly to floating-pointvalue- the packed value
-
glVertexAttribP4uiv
public static void glVertexAttribP4uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)Pointer version ofVertexAttribP4ui.- Parameters:
index- the index of the generic vertex attribute to be modifiedtype- type of packing used on the data. One of:INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REVnormalized- whether values should be normalized or cast directly to floating-pointvalue- 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
-
-