Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_DisplayOrientation - Display orientation values; the way a display is rotated.

Availability

       This enum is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                      SDL_DisplayOrientation(3type)

Name

       SDL_DisplayOrientation - Display orientation values; the way a display is rotated.

Synopsis

#include<SDL3/SDL_video.h>typedefenumSDL_DisplayOrientation{SDL_ORIENTATION_UNKNOWN,/**<Thedisplayorientationcan'tbedetermined*/SDL_ORIENTATION_LANDSCAPE,/**<Thedisplayisinlandscapemode,withtherightsideup,relativetoportraitmode*/SDL_ORIENTATION_LANDSCAPE_FLIPPED,/**<Thedisplayisinlandscapemode,withtheleftsideup,relativetoportraitmode*/SDL_ORIENTATION_PORTRAIT,/**<Thedisplayisinportraitmode*/SDL_ORIENTATION_PORTRAIT_FLIPPED/**<Thedisplayisinportraitmode,upsidedown*/}SDL_DisplayOrientation;

See Also