menu

GpuPresentRequest

import { GpuPresentRequest } from "destack:gpu/binding";

Present request.

language/library/src/gpu/binding/present.ds:172:179
1export struct GpuPresentRequest {2    frameId: uint64;3    displayFrameId: uint64;4    presentAtNs: uint64;5}

Members

frameId: uint64

Surface frame identifier returned by acquireSurface.

displayFrameId: uint64

Display frame identifier that drove this presentation.

presentAtNs: uint64

Requested presentation timestamp in nanoseconds.