SDL_GetCurrentDisplayOrientation

Get the orientation of a display.

extern (C) nothrow @nogc extern
SDL_GetCurrentDisplayOrientation

Parameters

displayID SDL_DisplayID

the instance ID of the display to query.

Return Value

the SDL_DisplayOrientation enum value of the display, or SDL_ORIENTATION_UNKNOWN if it isn't available.

Threadsafety: This function should only be called on the main thread.

See Also

Meta