Skip to content

API Reference / @gtkx/gl / DebugMessageCallback

Type Alias: DebugMessageCallback

DebugMessageCallback = (source, type, id, severity, message) => void

Defined in: overrides.d.ts:28

Callback invoked for each GL debug message reported by the driver.

Parameters

source

DebugSource

The origin of the message (API, window system, shader compiler, and so on).

type

DebugType

The category of the message (error, deprecated behavior, performance, and so on).

id

GLuint

The driver-assigned identifier of the message.

severity

DebugSeverity

The severity level of the message.

message

string

The human-readable message text.

Returns

void

Released under the MPL-2.0 License.