Skip to content

API Reference / @gtkx/gl / objectPtrLabel

Function: objectPtrLabel() ​

objectPtrLabel(ptr, length, label): void

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

void glObjectPtrLabel(const void *ptr, 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 glObjectPtrLabelKHR.

Parameters ​

ptr ​

number | ArrayBufferView<ArrayBufferLike> | null

ArrayBufferView | GLintptr | null

length ​

number

GLsizei

label ​

string

string, length COMPSIZE(label,length)

Returns ​

void