Skip to content

GPUDebugCommandsMixin

Adds debug marker and debug group commands to command encoders and pass encoders. #### Inheritors - [`GPUCommandEncoder`](../-g-p-u-command-encoder/index.md) - [`GPUComputePassEncoder`](../-g-p-u-compute-pass-encoder/index.md) - [`GPURenderPassEncoder`](../-g-p-u-render-pass-encoder/index.md) - [`GPURenderBundleEncoder`](../-g-p-u-render-bundle-encoder/index.md)

Functions

insertDebugMarker

abstract fun insertDebugMarker(markerLabel: String)
Marks a point in a stream of commands with a label. **Parameters** - markerLabel: The label to insert.

popDebugGroup

abstract fun popDebugGroup()
Ends the labeled debug group most recently started by pushDebugGroup().

pushDebugGroup

abstract fun pushDebugGroup(groupLabel: String)
Begins a labeled debug group containing subsequent commands. **Parameters** - groupLabel: The label for the command group.