public class ARBVertexType2_10_10_10_REV
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static 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*. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glColorP3ui(int type,
int color)
Packed component version of
Color3f. |
static void |
glColorP3uiv(int type,
int[] color)
Array version of:
ColorP3uiv |
static void |
glColorP3uiv(int type,
java.nio.IntBuffer color)
Pointer version of
ColorP3ui. |
static void |
glColorP4ui(int type,
int color)
Packed component version of
Color4f. |
static void |
glColorP4uiv(int type,
int[] color)
Array version of:
ColorP4uiv |
static void |
glColorP4uiv(int type,
java.nio.IntBuffer color)
Pointer version of
ColorP4ui. |
static void |
glMultiTexCoordP1ui(int texture,
int type,
int coords)
Packed component version of
MultiTexCoord1f. |
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 of
MultiTexCoordP1ui. |
static void |
glMultiTexCoordP2ui(int texture,
int type,
int coords)
Packed component version of
MultiTexCoord2f. |
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 of
MultiTexCoordP2ui. |
static void |
glMultiTexCoordP3ui(int texture,
int type,
int coords)
Packed component version of
MultiTexCoord3f. |
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 of
MultiTexCoordP3ui. |
static void |
glMultiTexCoordP4ui(int texture,
int type,
int coords)
Packed component version of
MultiTexCoord4f. |
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 of
MultiTexCoordP4ui. |
static void |
glNormalP3ui(int type,
int coords)
Packed component version of
Normal3f. |
static void |
glNormalP3uiv(int type,
int[] coords)
Array version of:
NormalP3uiv |
static void |
glNormalP3uiv(int type,
java.nio.IntBuffer coords)
Pointer version
NormalP3ui. |
static void |
glSecondaryColorP3ui(int type,
int color)
Packed component version of
SecondaryColor3f. |
static void |
glSecondaryColorP3uiv(int type,
int[] color)
Array version of:
SecondaryColorP3uiv |
static void |
glSecondaryColorP3uiv(int type,
java.nio.IntBuffer color)
Pointer version of
SecondaryColorP3ui. |
static void |
glTexCoordP1ui(int type,
int coords)
Packed component version of
TexCoord1f. |
static void |
glTexCoordP1uiv(int type,
int[] coords)
Array version of:
TexCoordP1uiv |
static void |
glTexCoordP1uiv(int type,
java.nio.IntBuffer coords)
Pointer version of
TexCoordP1ui. |
static void |
glTexCoordP2ui(int type,
int coords)
Packed component version of
TexCoord2f. |
static void |
glTexCoordP2uiv(int type,
int[] coords)
Array version of:
TexCoordP2uiv |
static void |
glTexCoordP2uiv(int type,
java.nio.IntBuffer coords)
Pointer version of
TexCoordP2ui. |
static void |
glTexCoordP3ui(int type,
int coords)
Packed component version of
TexCoord3f. |
static void |
glTexCoordP3uiv(int type,
int[] coords)
Array version of:
TexCoordP3uiv |
static void |
glTexCoordP3uiv(int type,
java.nio.IntBuffer coords)
Pointer version of
TexCoordP3ui. |
static void |
glTexCoordP4ui(int type,
int coords)
Packed component version of
TexCoord4f. |
static void |
glTexCoordP4uiv(int type,
int[] coords)
Array version of:
TexCoordP4uiv |
static void |
glTexCoordP4uiv(int type,
java.nio.IntBuffer coords)
Pointer version of
TexCoordP4ui. |
static void |
glVertexAttribP1ui(int index,
int type,
boolean normalized,
int value)
Packed component version of
VertexAttrib1f. |
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 of
VertexAttribP1ui. |
static void |
glVertexAttribP2ui(int index,
int type,
boolean normalized,
int value)
Packed component version of
VertexAttrib2f. |
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 of
VertexAttribP2ui. |
static void |
glVertexAttribP3ui(int index,
int type,
boolean normalized,
int value)
Packed component version of
VertexAttrib3f. |
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 of
VertexAttribP3ui. |
static void |
glVertexAttribP4ui(int index,
int type,
boolean normalized,
int value)
Packed component version of
VertexAttrib4f. |
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 of
VertexAttribP4ui. |
static void |
glVertexP2ui(int type,
int value)
Packed component version of
Vertex2f. |
static void |
glVertexP2uiv(int type,
int[] value)
Array version of:
VertexP2uiv |
static void |
glVertexP2uiv(int type,
java.nio.IntBuffer value)
Pointer version of
VertexP2ui. |
static void |
glVertexP3ui(int type,
int value)
Packed component version of
Vertex3f. |
static void |
glVertexP3uiv(int type,
int[] value)
Array version of:
VertexP3uiv |
static void |
glVertexP3uiv(int type,
java.nio.IntBuffer value)
Pointer version of
VertexP3ui. |
static void |
glVertexP4ui(int type,
int value)
Packed component version of
Vertex4f. |
static void |
glVertexP4uiv(int type,
int[] value)
Array version of:
VertexP4uiv |
static void |
glVertexP4uiv(int type,
java.nio.IntBuffer value)
Pointer version of
VertexP4ui. |
static void |
nglColorP3uiv(int type,
long color)
Unsafe version of:
ColorP3uiv |
static void |
nglColorP4uiv(int type,
long color)
Unsafe version of:
ColorP4uiv |
static void |
nglMultiTexCoordP1uiv(int texture,
int type,
long coords)
Unsafe version of:
MultiTexCoordP1uiv |
static void |
nglMultiTexCoordP2uiv(int texture,
int type,
long coords)
Unsafe version of:
MultiTexCoordP2uiv |
static void |
nglMultiTexCoordP3uiv(int texture,
int type,
long coords)
Unsafe version of:
MultiTexCoordP3uiv |
static void |
nglMultiTexCoordP4uiv(int texture,
int type,
long coords)
Unsafe version of:
MultiTexCoordP4uiv |
static void |
nglNormalP3uiv(int type,
long coords)
Unsafe version of:
NormalP3uiv |
static void |
nglSecondaryColorP3uiv(int type,
long color)
Unsafe version of:
SecondaryColorP3uiv |
static void |
nglTexCoordP1uiv(int type,
long coords)
Unsafe version of:
TexCoordP1uiv |
static void |
nglTexCoordP2uiv(int type,
long coords)
Unsafe version of:
TexCoordP2uiv |
static void |
nglTexCoordP3uiv(int type,
long coords)
Unsafe version of:
TexCoordP3uiv |
static void |
nglTexCoordP4uiv(int type,
long coords)
Unsafe version of:
TexCoordP4uiv |
static void |
nglVertexAttribP1uiv(int index,
int type,
boolean normalized,
long value)
Unsafe version of:
VertexAttribP1uiv |
static void |
nglVertexAttribP2uiv(int index,
int type,
boolean normalized,
long value)
Unsafe version of:
VertexAttribP2uiv |
static void |
nglVertexAttribP3uiv(int index,
int type,
boolean normalized,
long value)
Unsafe version of:
VertexAttribP3uiv |
static void |
nglVertexAttribP4uiv(int index,
int type,
boolean normalized,
long value)
Unsafe version of:
VertexAttribP4uiv |
static void |
nglVertexP2uiv(int type,
long value)
Unsafe version of:
VertexP2uiv |
static void |
nglVertexP3uiv(int type,
long value)
Unsafe version of:
VertexP3uiv |
static void |
nglVertexP4uiv(int type,
long value)
Unsafe version of:
VertexP4uiv |
public static final int GL_INT_2_10_10_10_REV
type parameter of VertexAttribPointer, VertexPointer, NormalPointer, ColorPointer, SecondaryColorPointer, TexCoordPointer,
VertexAttribP{1234}ui, VertexP*, TexCoordP*, MultiTexCoordP*, NormalP3ui, ColorP*, SecondaryColorP and VertexAttribP*.public static void glVertexP2ui(int type,
int value)
Vertex2f.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 valuepublic static void glVertexP3ui(int type,
int value)
Vertex3f.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 valuepublic static void glVertexP4ui(int type,
int value)
Vertex4f.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 valuepublic static void nglVertexP2uiv(int type,
long value)
VertexP2uivpublic static void glVertexP2uiv(int type,
java.nio.IntBuffer value)
VertexP2ui.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 valuepublic static void nglVertexP3uiv(int type,
long value)
VertexP3uivpublic static void glVertexP3uiv(int type,
java.nio.IntBuffer value)
VertexP3ui.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 valuepublic static void nglVertexP4uiv(int type,
long value)
VertexP4uivpublic static void glVertexP4uiv(int type,
java.nio.IntBuffer value)
VertexP4ui.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 valuepublic static void glTexCoordP1ui(int type,
int coords)
TexCoord1f.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 valuepublic static void glTexCoordP2ui(int type,
int coords)
TexCoord2f.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 valuepublic static void glTexCoordP3ui(int type,
int coords)
TexCoord3f.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 valuepublic static void glTexCoordP4ui(int type,
int coords)
TexCoord4f.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 valuepublic static void nglTexCoordP1uiv(int type,
long coords)
TexCoordP1uivpublic static void glTexCoordP1uiv(int type,
java.nio.IntBuffer coords)
TexCoordP1ui.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 valuepublic static void nglTexCoordP2uiv(int type,
long coords)
TexCoordP2uivpublic static void glTexCoordP2uiv(int type,
java.nio.IntBuffer coords)
TexCoordP2ui.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 valuepublic static void nglTexCoordP3uiv(int type,
long coords)
TexCoordP3uivpublic static void glTexCoordP3uiv(int type,
java.nio.IntBuffer coords)
TexCoordP3ui.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 valuepublic static void nglTexCoordP4uiv(int type,
long coords)
TexCoordP4uivpublic static void glTexCoordP4uiv(int type,
java.nio.IntBuffer coords)
TexCoordP4ui.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 valuepublic static void glMultiTexCoordP1ui(int texture,
int type,
int coords)
MultiTexCoord1f.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 valuepublic static void glMultiTexCoordP2ui(int texture,
int type,
int coords)
MultiTexCoord2f.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 valuepublic static void glMultiTexCoordP3ui(int texture,
int type,
int coords)
MultiTexCoord3f.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 valuepublic static void glMultiTexCoordP4ui(int texture,
int type,
int coords)
MultiTexCoord4f.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 valuepublic static void nglMultiTexCoordP1uiv(int texture,
int type,
long coords)
MultiTexCoordP1uivpublic static void glMultiTexCoordP1uiv(int texture,
int type,
java.nio.IntBuffer coords)
MultiTexCoordP1ui.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 valuepublic static void nglMultiTexCoordP2uiv(int texture,
int type,
long coords)
MultiTexCoordP2uivpublic static void glMultiTexCoordP2uiv(int texture,
int type,
java.nio.IntBuffer coords)
MultiTexCoordP2ui.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 valuepublic static void nglMultiTexCoordP3uiv(int texture,
int type,
long coords)
MultiTexCoordP3uivpublic static void glMultiTexCoordP3uiv(int texture,
int type,
java.nio.IntBuffer coords)
MultiTexCoordP3ui.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 valuepublic static void nglMultiTexCoordP4uiv(int texture,
int type,
long coords)
MultiTexCoordP4uivpublic static void glMultiTexCoordP4uiv(int texture,
int type,
java.nio.IntBuffer coords)
MultiTexCoordP4ui.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 valuepublic static void glNormalP3ui(int type,
int coords)
Normal3f.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 valuepublic static void nglNormalP3uiv(int type,
long coords)
NormalP3uivpublic static void glNormalP3uiv(int type,
java.nio.IntBuffer coords)
NormalP3ui.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 valuepublic static void glColorP3ui(int type,
int color)
Color3f.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 valuepublic static void glColorP4ui(int type,
int color)
Color4f.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 valuepublic static void nglColorP3uiv(int type,
long color)
ColorP3uivpublic static void glColorP3uiv(int type,
java.nio.IntBuffer color)
ColorP3ui.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 valuepublic static void nglColorP4uiv(int type,
long color)
ColorP4uivpublic static void glColorP4uiv(int type,
java.nio.IntBuffer color)
ColorP4ui.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 valuepublic static void glSecondaryColorP3ui(int type,
int color)
SecondaryColor3f.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 valuepublic static void nglSecondaryColorP3uiv(int type,
long color)
SecondaryColorP3uivpublic static void glSecondaryColorP3uiv(int type,
java.nio.IntBuffer color)
SecondaryColorP3ui.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 valuepublic static void glVertexAttribP1ui(int index,
int type,
boolean normalized,
int value)
VertexAttrib1f.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 valuepublic static void glVertexAttribP2ui(int index,
int type,
boolean normalized,
int value)
VertexAttrib2f.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 valuepublic static void glVertexAttribP3ui(int index,
int type,
boolean normalized,
int value)
VertexAttrib3f.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 valuepublic static void glVertexAttribP4ui(int index,
int type,
boolean normalized,
int value)
VertexAttrib4f.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 valuepublic static void nglVertexAttribP1uiv(int index,
int type,
boolean normalized,
long value)
VertexAttribP1uivpublic static void glVertexAttribP1uiv(int index,
int type,
boolean normalized,
java.nio.IntBuffer value)
VertexAttribP1ui.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 valuepublic static void nglVertexAttribP2uiv(int index,
int type,
boolean normalized,
long value)
VertexAttribP2uivpublic static void glVertexAttribP2uiv(int index,
int type,
boolean normalized,
java.nio.IntBuffer value)
VertexAttribP2ui.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 valuepublic static void nglVertexAttribP3uiv(int index,
int type,
boolean normalized,
long value)
VertexAttribP3uivpublic static void glVertexAttribP3uiv(int index,
int type,
boolean normalized,
java.nio.IntBuffer value)
VertexAttribP3ui.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 valuepublic static void nglVertexAttribP4uiv(int index,
int type,
boolean normalized,
long value)
VertexAttribP4uivpublic static void glVertexAttribP4uiv(int index,
int type,
boolean normalized,
java.nio.IntBuffer value)
VertexAttribP4ui.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 valuepublic static void glVertexP2uiv(int type,
int[] value)
VertexP2uivpublic static void glVertexP3uiv(int type,
int[] value)
VertexP3uivpublic static void glVertexP4uiv(int type,
int[] value)
VertexP4uivpublic static void glTexCoordP1uiv(int type,
int[] coords)
TexCoordP1uivpublic static void glTexCoordP2uiv(int type,
int[] coords)
TexCoordP2uivpublic static void glTexCoordP3uiv(int type,
int[] coords)
TexCoordP3uivpublic static void glTexCoordP4uiv(int type,
int[] coords)
TexCoordP4uivpublic static void glMultiTexCoordP1uiv(int texture,
int type,
int[] coords)
MultiTexCoordP1uivpublic static void glMultiTexCoordP2uiv(int texture,
int type,
int[] coords)
MultiTexCoordP2uivpublic static void glMultiTexCoordP3uiv(int texture,
int type,
int[] coords)
MultiTexCoordP3uivpublic static void glMultiTexCoordP4uiv(int texture,
int type,
int[] coords)
MultiTexCoordP4uivpublic static void glNormalP3uiv(int type,
int[] coords)
NormalP3uivpublic static void glColorP3uiv(int type,
int[] color)
ColorP3uivpublic static void glColorP4uiv(int type,
int[] color)
ColorP4uivpublic static void glSecondaryColorP3uiv(int type,
int[] color)
SecondaryColorP3uivpublic static void glVertexAttribP1uiv(int index,
int type,
boolean normalized,
int[] value)
VertexAttribP1uivpublic static void glVertexAttribP2uiv(int index,
int type,
boolean normalized,
int[] value)
VertexAttribP2uivpublic static void glVertexAttribP3uiv(int index,
int type,
boolean normalized,
int[] value)
VertexAttribP3uivpublic static void glVertexAttribP4uiv(int index,
int type,
boolean normalized,
int[] value)
VertexAttribP4uivCopyright LWJGL. All Rights Reserved. License terms.