Constant fermium::hints::SDL_HINT_RENDER_DRIVER[][src]

pub const SDL_HINT_RENDER_DRIVER: &[u8];
Expand description

A variable specifying which render driver to use.

If the application doesn’t pick a specific renderer to use, this variable specifies the name of the preferred renderer. If the preferred renderer can’t be initialized, the normal default renderer is used.

This variable is case insensitive and can be set to the following values:

  • “direct3d”
  • “opengl”
  • “opengles2”
  • “opengles”
  • “metal”
  • “software”

The default varies by platform, but it’s the first one in the list that is available on the current platform.