Function SDL_GetCurrentDisplayOrientation
pub unsafe extern "C" fn SDL_GetCurrentDisplayOrientation(
displayID: u32,
) -> SDL_DisplayOrientation
Available on crate feature
dep_sdl3
only.Expand description
Get the orientation of a display.
§Parameters
displayID
: the instance ID of the display to query.
§Return value
Returns the SDL_DisplayOrientation
enum value of the display, or
SDL_ORIENTATION_UNKNOWN
if it isn’t available.
§Thread safety
This function should only be called on the main thread.
§Availability
This function is available since SDL 3.2.0.