# GpuPresentMode

`import { GpuPresentMode } from "destack:gpu/binding";`

Surface present mode.

```ds title="GpuPresentMode"
export enum GpuPresentMode {
    AutoVsync = 0,
    AutoNoVsync = 1,
    Fifo = 2,
    FifoRelaxed = 3,
    Immediate = 4,
    Mailbox = 5,
}
```

[language/library/src/gpu/binding/present.ds:15:28](https://github.com/destack-sh/destack/blob/main/language/library/src/gpu/binding/present.ds#L15-L28)

## Variants

### `AutoVsync = 0`

Choose the first supported v-synced mode.

### `AutoNoVsync = 1`

Choose the first supported non-v-synced mode.

### `Fifo = 2`

Present in first-in-first-out v-sync order.

### `FifoRelaxed = 3`

Present with relaxed v-sync when available.

### `Immediate = 4`

Present without v-sync ordering.

### `Mailbox = 5`

Present the latest available frame.
