Function SDL_InsertGPUDebugLabel

pub unsafe extern "C" fn SDL_InsertGPUDebugLabel(
    command_buffer: *mut SDL_GPUCommandBuffer,
    text: *const i8,
)
Available on crate feature dep_sdl3 only.
Expand description

Inserts an arbitrary string label into the command buffer callstream.

Useful for debugging.

§Parameters

  • command_buffer: a command buffer.
  • text: a UTF-8 string constant to insert as the label.

§Availability

This function is available since SDL 3.2.0.