RENDER_SCALE_QUALITY


Description:

[ CCode ( cname = "SDL_HINT_RENDER_SCALE_QUALITY" ) ]
public const string RENDER_SCALE_QUALITY

A variable controlling the scaling quality

This variable can be set to the following values:

  • "0" or "nearest" - Nearest pixel sampling
  • "1" or "linear" - Linear filtering (supported by OpenGL and Direct3D)
  • "2" or "best" - Currently this is the same as "linear"

By default nearest pixel sampling is used


Namespace: SDL.Hint
Package: sdl2



2022 vala-language.org