Function SDL_GetDisplayOrientation
pub unsafe extern "C" fn SDL_GetDisplayOrientation(
displayIndex: i32,
) -> SDL_DisplayOrientation
Available on crate feature
dep_sdl2
only.Expand description
Get the orientation of a display.
\param displayIndex the index of the display to query
\returns The SDL_DisplayOrientation enum value of the display, or
SDL_ORIENTATION_UNKNOWN
if it isn’t available.
\since This function is available since SDL 2.0.9.
\sa SDL_GetNumVideoDisplays