RENDER_LOGICAL_SIZE_MODE


Description:

[ Version ( since = "2.0.6" ) ]
[ CCode ( cname = "SDL_HINT_RENDER_LOGICAL_SIZE_MODE" ) ]
public const string RENDER_LOGICAL_SIZE_MODE

A variable controlling the scaling policy for SDL_RenderSetLogicalSize.

This variable can be set to the following values:

  • "0" or "letterbox" - Uses letterbox/sidebars to fit the entire rendering on screen
  • "1" or "overscan" - Will zoom the rendering so it fills the entire screen, allowing edges to be drawn offscreen

By default letterbox is used


Namespace: SDL.Hint
Package: sdl2



2022 vala-language.org