Constant fermium::hints::SDL_HINT_RENDER_OPENGL_SHADERS
source · pub const SDL_HINT_RENDER_OPENGL_SHADERS: &[u8];
Expand description
A variable controlling whether the OpenGL render driver uses shaders if they are available.
This variable can be set to the following values:
- “0”: Disable shaders
- “1”: Enable shaders
By default shaders are used if OpenGL supports them.