RENDER_OPENGL_SHADERS


Description:

[ CCode ( cname = "SDL_HINT_RENDER_OPENGL_SHADERS" ) ]
public const string RENDER_OPENGL_SHADERS

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.


Namespace: SDL.Hint
Package: sdl2