SDL_GetNaturalDisplayOrientation

Get the orientation of a display when it is unrotated.

extern (C) nothrow @nogc extern
SDL_GetNaturalDisplayOrientation

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