---
name: "SDL_HINT_RENDER_DIRECT3D11_DEBUG"
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_HINT_RENDER_DIRECT3D11_DEBUG"
---

# SDL\_HINT\_RENDER\_DIRECT3D11\_DEBUG(3)

A variable controlling whether to enable Direct3D 11+'s Debug Layer.

## NAME

SDL\_HINT\_RENDER\_DIRECT3D11\_DEBUG - A variable controlling whether to enable Direct3D 11+'s Debug Layer.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_RENDER\_DIRECT3D11\_DEBUG** *SDL\_RENDER\_DIRECT3D11\_DEBUG"*

## DESCRIPTION

This variable does not have any effect on the Direct3D 9 based renderer.

The variable can be set to the following values:

• "0": Disable Debug Layer use. (default)

• "1": Enable Debug Layer use.

This hint should be set before creating a renderer.

## AVAILABILITY

This hint is available since SDL 3.2.0.
