SDL_HINT_RENDER_DRIVER

A hint that specifies which render driver to use.

Values

direct3d

opengl

opengles2

opengles

metal

software

Default

By default the first one in the list that is available on the current platform is chosen.

Remarks

The values are case-insensitive.

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.


CategoryDefine, CategoryHints