menu
GpuPresentMode
import { GpuPresentMode } from "destack:gpu/binding";
Surface present mode.
1export enum GpuPresentMode {2 AutoVsync = 0,3 AutoNoVsync = 1,4 Fifo = 2,5 FifoRelaxed = 3,6 Immediate = 4,7 Mailbox = 5,8}Variants
AutoVsync = 0Choose the first supported v-synced mode.
AutoNoVsync = 1Choose the first supported non-v-synced mode.
Fifo = 2Present in first-in-first-out v-sync order.
FifoRelaxed = 3Present with relaxed v-sync when available.
Immediate = 4Present without v-sync ordering.
Mailbox = 5Present the latest available frame.