Signature
Parameters
| Variables | Description |
|---|---|
| program |
Specifies the program object to be
queried.
|
| index |
Specifies the index of the attribute variable
to be queried.
|
| bufSize |
Specifies the maximum number of characters
OpenGL is allowed to write in the character buffer
indicated by
name
.
|
| length |
Returns the number of characters actually
written by OpenGL in the string indicated by
name
(excluding the null
terminator) if a value other than
NULL
is passed.
|
| size |
Returns the size of the attribute
variable.
|
| type |
Returns the data type of the attribute
variable.
|
| name |
Returns a null terminated string containing
the name of the attribute variable.
|