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.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 Summary
Fields Modifier and Type Field and Description static int
GL_INT_2_10_10_10_REV
Accepted by thetype
parameter 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 void
glColorP3ui(int type, int color)
Packed component version ofColor3f
.static void
glColorP3uiv(int type, int[] color)
Array version of:ColorP3uiv
static void
glColorP3uiv(int type, java.nio.IntBuffer color)
Pointer version ofColorP3ui
.static void
glColorP4ui(int type, int color)
Packed component version ofColor4f
.static void
glColorP4uiv(int type, int[] color)
Array version of:ColorP4uiv
static void
glColorP4uiv(int type, java.nio.IntBuffer color)
Pointer version ofColorP4ui
.static void
glMultiTexCoordP1ui(int texture, int type, int coords)
Packed component version ofMultiTexCoord1f
.static void
glMultiTexCoordP1uiv(int texture, int type, int[] coords)
Array version of:MultiTexCoordP1uiv
static void
glMultiTexCoordP1uiv(int texture, int type, java.nio.IntBuffer coords)
Pointer version ofMultiTexCoordP1ui
.static void
glMultiTexCoordP2ui(int texture, int type, int coords)
Packed component version ofMultiTexCoord2f
.static void
glMultiTexCoordP2uiv(int texture, int type, int[] coords)
Array version of:MultiTexCoordP2uiv
static void
glMultiTexCoordP2uiv(int texture, int type, java.nio.IntBuffer coords)
Pointer version ofMultiTexCoordP2ui
.static void
glMultiTexCoordP3ui(int texture, int type, int coords)
Packed component version ofMultiTexCoord3f
.static void
glMultiTexCoordP3uiv(int texture, int type, int[] coords)
Array version of:MultiTexCoordP3uiv
static void
glMultiTexCoordP3uiv(int texture, int type, java.nio.IntBuffer coords)
Pointer version ofMultiTexCoordP3ui
.static void
glMultiTexCoordP4ui(int texture, int type, int coords)
Packed component version ofMultiTexCoord4f
.static void
glMultiTexCoordP4uiv(int texture, int type, int[] coords)
Array version of:MultiTexCoordP4uiv
static void
glMultiTexCoordP4uiv(int texture, int type, java.nio.IntBuffer coords)
Pointer version ofMultiTexCoordP4ui
.static void
glNormalP3ui(int type, int coords)
Packed component version ofNormal3f
.static void
glNormalP3uiv(int type, int[] coords)
Array version of:NormalP3uiv
static void
glNormalP3uiv(int type, java.nio.IntBuffer coords)
Pointer versionNormalP3ui
.static void
glSecondaryColorP3ui(int type, int color)
Packed component version ofSecondaryColor3f
.static void
glSecondaryColorP3uiv(int type, int[] color)
Array version of:SecondaryColorP3uiv
static void
glSecondaryColorP3uiv(int type, java.nio.IntBuffer color)
Pointer version ofSecondaryColorP3ui
.static void
glTexCoordP1ui(int type, int coords)
Packed component version ofTexCoord1f
.static void
glTexCoordP1uiv(int type, int[] coords)
Array version of:TexCoordP1uiv
static void
glTexCoordP1uiv(int type, java.nio.IntBuffer coords)
Pointer version ofTexCoordP1ui
.static void
glTexCoordP2ui(int type, int coords)
Packed component version ofTexCoord2f
.static void
glTexCoordP2uiv(int type, int[] coords)
Array version of:TexCoordP2uiv
static void
glTexCoordP2uiv(int type, java.nio.IntBuffer coords)
Pointer version ofTexCoordP2ui
.static void
glTexCoordP3ui(int type, int coords)
Packed component version ofTexCoord3f
.static void
glTexCoordP3uiv(int type, int[] coords)
Array version of:TexCoordP3uiv
static void
glTexCoordP3uiv(int type, java.nio.IntBuffer coords)
Pointer version ofTexCoordP3ui
.static void
glTexCoordP4ui(int type, int coords)
Packed component version ofTexCoord4f
.static void
glTexCoordP4uiv(int type, int[] coords)
Array version of:TexCoordP4uiv
static void
glTexCoordP4uiv(int type, java.nio.IntBuffer coords)
Pointer version ofTexCoordP4ui
.static void
glVertexAttribP1ui(int index, int type, boolean normalized, int value)
Packed component version ofVertexAttrib1f
.static void
glVertexAttribP1uiv(int index, int type, boolean normalized, int[] value)
Array version of:VertexAttribP1uiv
static void
glVertexAttribP1uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)
Pointer version ofVertexAttribP1ui
.static void
glVertexAttribP2ui(int index, int type, boolean normalized, int value)
Packed component version ofVertexAttrib2f
.static void
glVertexAttribP2uiv(int index, int type, boolean normalized, int[] value)
Array version of:VertexAttribP2uiv
static void
glVertexAttribP2uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)
Pointer version ofVertexAttribP2ui
.static void
glVertexAttribP3ui(int index, int type, boolean normalized, int value)
Packed component version ofVertexAttrib3f
.static void
glVertexAttribP3uiv(int index, int type, boolean normalized, int[] value)
Array version of:VertexAttribP3uiv
static void
glVertexAttribP3uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)
Pointer version ofVertexAttribP3ui
.static void
glVertexAttribP4ui(int index, int type, boolean normalized, int value)
Packed component version ofVertexAttrib4f
.static void
glVertexAttribP4uiv(int index, int type, boolean normalized, int[] value)
Array version of:VertexAttribP4uiv
static void
glVertexAttribP4uiv(int index, int type, boolean normalized, java.nio.IntBuffer value)
Pointer version ofVertexAttribP4ui
.static void
glVertexP2ui(int type, int value)
Packed component version ofVertex2f
.static void
glVertexP2uiv(int type, int[] value)
Array version of:VertexP2uiv
static void
glVertexP2uiv(int type, java.nio.IntBuffer value)
Pointer version ofVertexP2ui
.static void
glVertexP3ui(int type, int value)
Packed component version ofVertex3f
.static void
glVertexP3uiv(int type, int[] value)
Array version of:VertexP3uiv
static void
glVertexP3uiv(int type, java.nio.IntBuffer value)
Pointer version ofVertexP3ui
.static void
glVertexP4ui(int type, int value)
Packed component version ofVertex4f
.static void
glVertexP4uiv(int type, int[] value)
Array version of:VertexP4uiv
static void
glVertexP4uiv(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 thetype
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
-
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_REV
UNSIGNED_INT_2_10_10_10_REV
value
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
value
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
value
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
value
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
value
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
value
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
coords
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
color
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
color
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
color
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
color
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
color
- 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_REV
UNSIGNED_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 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_REV
UNSIGNED_INT_2_10_10_10_REV
normalized
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
normalized
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
normalized
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
normalized
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
normalized
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
normalized
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
normalized
- 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_REV
UNSIGNED_INT_2_10_10_10_REV
normalized
- 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
-
-