SDL_InsertGPUDebugLabel(3)

SDL_InsertGPUDebugLabel3

Inserts an arbitrary string label into the command buffer callstream.

Usage

#include "SDL3/SDL.h"

void SDL_InsertGPUDebugLabel( SDL_GPUCommandBuffer *command_buffer, const char *text);

Header file

Defined in SDL3/SDL_gpu.h

Overview

Useful for debugging.

Function 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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.