Signature
glVertexAttribP1ui(
GLuint (
index
)
,
GLenum (
type
)
,
GLboolean (
normalized
)
,
GLuint (
value
)
)-> void
glVertexAttribP2ui(
GLuint (
index
)
,
GLenum (
type
)
,
GLboolean (
normalized
)
,
GLuint (
value
)
)-> void
glVertexAttribP3ui(
GLuint (
index
)
,
GLenum (
type
)
,
GLboolean (
normalized
)
,
GLuint (
value
)
)-> void
glVertexAttribP4ui(
GLuint (
index
)
,
GLenum (
type
)
,
GLboolean (
normalized
)
,
GLuint (
value
)
)-> void
Parameters
Variables | Description |
---|---|
index |
Specifies the index of the generic vertex
attribute to be modified.
|
v0, v1, v2, v3 |
For the scalar commands, specifies the new values to be used
for the specified vertex attribute.
|
v |
For the vector commands
(
glVertexAttrib*v
), specifies a pointer
to an array of values to be used for the generic vertex
attribute.
|
type |
For the packed commands
(
glVertexAttribP*
), specified the type
of packing used on the data. This parameter must be
GL_INT_2_10_10_10_REV
or
GL_UNSIGNED_INT_2_10_10_10_REV
, to
specify signed or unsigned data, respectively, or
GL_UNSIGNED_INT_10F_11F_11F_REV
to
specify floating point data.
|
normalized |
For the packed commands, if
GL_TRUE
,
then the values are to be converted to floating point values
by normalizing. Otherwise, they are converted directly to
floating-point values. If
type
indicates a floating-pont format, then
normalized
value must be
GL_FALSE
.
|
value |
For the packed commands, specifies the new packed value to
be used for the specified vertex attribute.
|