获取命名空间对象的标签。打标签由函数glObjectLabel执行。
void glGetObjectLabel( GLenum identifier,
GLuint name,
GLsizei bufSize,
GLsizei * length,
char * label);
identifier
The namespace from which the name of the object is allocated.
指定命名空间。
name
The name of the object whose label to retrieve.
指定命名空间中要获取标签的对象的标识符。
bufSize
The length of the buffer whose address is in label.
指定label字符串的长度。
length
The address of a variable to receive the length of the object label.
指定获取标签长度的地址。
label
The address of a string that will receive the object label.
用于存储获取的标签字符串的地址。