Window.setFullscreen

Use this function to (re)set Window's fullscreen states.

style may be Style.Fullscreen for "real" fullscreen with a display mode change or Style.Desktop for "fake" fullscreen that takes the size of the desktop Use 0 for windowed mode.

if adaptProjection is true (which is the default) the projection will automatically adapted. set it to false if you want to specify your own projection afterwards.

struct Window
@nogc
bool
setFullscreen
nothrow
(
uint style
,
bool adaptProjection = true
)

Meta