Signature
Parameters
Variables | Description |
---|---|
type |
Specifies the data type of each color index in the array.
Symbolic constants
GL_UNSIGNED_BYTE
,
GL_SHORT
,
GL_INT
,
GL_FLOAT
,
and
GL_DOUBLE
are accepted. The initial value is
GL_FLOAT
.
|
stride |
Specifies the byte offset between consecutive color indexes.
If
stride
is 0, the color indexes are understood to
be tightly packed in the array. The initial value is 0.
|
pointer |
Specifies a pointer to the first index in the array.
The initial value is 0.
|