Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_InsertGPUDebugLabel - Inserts an arbitrary string label into the command buffer callstream.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                         SDL_InsertGPUDebugLabel(3)

Description

       Useful for debugging.

Function Parameters

command_buffer
              a command buffer.

       text   a UTF-8 string constant to insert as the label.

Name

       SDL_InsertGPUDebugLabel - Inserts an arbitrary string label into the command buffer callstream.

Synopsis

#include<SDL3/SDL_gpu.h>voidSDL_InsertGPUDebugLabel(SDL_GPUCommandBuffer*command_buffer,constchar*text);

See Also