Constant RENDER_DIRECT3D_THREADSAFE
pub const RENDER_DIRECT3D_THREADSAFE: &'static str;
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.