---
name: "SDL_InsertGPUDebugLabel"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_InsertGPUDebugLabel"
---

# SDL\_InsertGPUDebugLabel(3)

Inserts an arbitrary string label into the command buffer callstream.

## NAME

SDL\_InsertGPUDebugLabel - Inserts an arbitrary string label into the command buffer callstream.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_InsertGPUDebugLabel(**     **SDL\_GPUCommandBuffer \*command\_buffer,**     **const char \*text);**

## DESCRIPTION

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.
