Display.orientation

Wraps SDL_GetDisplayOrientation (from SDL 2.0.9) which gets the display's orientation

class Display
const @property @trusted
static if(sdlSupport >= SDLSupport.v2_0_9)
orientation
()

Return Value

dsdl2.DisplayOrientation of the display

Meta