Constant SDL_HINT_RENDER_DIRECT3D_THREADSAFE

pub const SDL_HINT_RENDER_DIRECT3D_THREADSAFE: *const i8 = _; // {alloc39867<imm>: *const i8}
Available on crate feature dep_sdl3 only.
Expand description

A variable controlling whether the Direct3D device is initialized for thread-safe operations.

The variable can be set to the following values:

  • “0”: Thread-safety is not enabled. (default)
  • “1”: Thread-safety is enabled.

This hint should be set before creating a renderer.

§Availability

This hint is available since SDL 3.2.0.