Skip to content

API Reference / @gtkx/gl / objectLabel

Function: objectLabel()

objectLabel(identifier, name, length, label): void

Defined in: generated/commands.d.ts:4089

void glObjectLabel(GLenum identifier, GLuint name, GLsizei length, const GLchar *label)

Provided by GL_VERSION_4_3. Registry note: Reuse commands from KHR_debug (includes ARB_debug_output commands promoted to KHR without suffixes) Also provided by the GL_KHR_debug extension. GL_KHR_debug note: KHR extensions mandate suffixes for ES, unlike for GL. Also known as glObjectLabelKHR.

Parameters

identifier

number

ObjectIdentifier

name

number

GLuint

length

number

GLsizei

label

string

string, length COMPSIZE(label,length)

Returns

void

Released under the MPL-2.0 License.