Skip to main content

SDL_HINT_RENDER_GPU_DEBUG

Constant SDL_HINT_RENDER_GPU_DEBUG 

Source
pub const SDL_HINT_RENDER_GPU_DEBUG: *const c_char = _; // {alloc9549<imm>: *const i8}
Expand description

A variable controlling whether to create the GPU device in debug mode.

This variable can be set to the following values:

  • “0”: Disable debug mode use (default)
  • “1”: Enable debug mode use

This hint should be set before creating a renderer.

§Availability

This hint is available since SDL 3.2.0.