Skip to content

API Reference / @gtkx/gl / debugMessageControl

Function: debugMessageControl() ​

debugMessageControl(source, type, severity, count, ids, enabled): void

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

void glDebugMessageControl(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled)

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 glDebugMessageControlARB, glDebugMessageControlKHR.

Parameters ​

source ​

number

DebugSource

type ​

number

DebugType

severity ​

number

DebugSeverity

count ​

number

GLsizei

ids ​

number[] | Uint32Array<ArrayBufferLike>

GLuint[] | Uint32Array, length count

enabled ​

boolean

boolean

Returns ​

void