SDL_HINT_RENDER_DIRECT3D11_DEBUG(3)

SDL_HINT_RENDER_DIRECT3D11_DEBUG3

A variable controlling whether to enable direct3d 11+'s debug layer.

Usage

#include "SDL3/SDL.h"

#define SDL_HINT_RENDER_DIRECT3D11_DEBUG SDL_RENDER_DIRECT3D11_DEBUG"

Header file

Defined in SDL3/SDL_hints.h

Overview

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.

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