Function sdl2_sys::SDL_GetDisplayOrientation
source · pub unsafe extern "C" fn SDL_GetDisplayOrientation(
displayIndex: c_int,
) -> SDL_DisplayOrientation
Expand description
\brief Get the orientation of a display
\return The orientation of the display, or SDL_ORIENTATION_UNKNOWN if it isn’t available.
\sa SDL_GetNumVideoDisplays()