table of contents
other versions
- testing 3.2.10+ds-1
- unstable 3.2.10+ds-1
- experimental 3.2.16+ds-1
SDL_DisplayOrientation(3type) | SDL3 DATATYPES | SDL_DisplayOrientation(3type) |
NAME¶
SDL_DisplayOrientation - Display orientation values; the way a display is rotated.
SYNOPSIS¶
#include <SDL3/SDL_video.h>
typedef enum SDL_DisplayOrientation { SDL_ORIENTATION_UNKNOWN, /**< The display orientation can't be determined */ SDL_ORIENTATION_LANDSCAPE, /**< The display is in landscape mode, with the right side up, relative to portrait mode */ SDL_ORIENTATION_LANDSCAPE_FLIPPED, /**< The display is in landscape mode, with the left side up, relative to portrait mode */ SDL_ORIENTATION_PORTRAIT, /**< The display is in portrait mode */ SDL_ORIENTATION_PORTRAIT_FLIPPED /**< The display is in portrait mode, upside down */ } SDL_DisplayOrientation;
AVAILABILITY¶
This enum is available since SDL 3.2.0.
SDL 3.2.16 | Simple Directmedia Layer |