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

# SDL\_HINT\_RPI\_VIDEO\_LAYER(3)

A variable controlling which Dispmanx layer to use on a Raspberry PI.

## NAME

SDL\_HINT\_RPI\_VIDEO\_LAYER - A variable controlling which Dispmanx layer to use on a Raspberry PI.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_HINT\_RPI\_VIDEO\_LAYER** *SDL\_RPI\_VIDEO\_LAYER"*

## DESCRIPTION

Also known as Z-order. The variable can take a negative or positive value. The default is 10000.

This hint should be set before SDL is initialized.

## AVAILABILITY

This hint is available since SDL 3.2.0.
