logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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