Window.fullscreen

Wraps SDL_SetWindowFullscreen which sets the fullscreen mode of the window

  1. bool fullscreen()
  2. void fullscreen(bool newFullscreen)
    class Window
    @property @trusted
    void
    fullscreen

Parameters

newFullscreen bool

true to make the window fullscreen, otherwise false

Throws

dsdl2.SDLException if failed to set the window's fullscreen mode

Meta