---
name: "SDL_DisplayOrientation"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_DisplayOrientation"
---

# SDL\_DisplayOrientation(3type)

Display orientation values; the way a display is rotated.

## NAME

SDL\_DisplayOrientation - Display orientation values; the way a display is rotated.

## HEADER FILE

Defined in SDL3/SDL\_video.h

## SYNOPSIS

```
#include "SDL3/SDL.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.
