Skip to content

ZenFG TypeScript API / snapshot / root / FrameGraphSnapshotResource

Type Alias: FrameGraphSnapshotResource

FrameGraphSnapshotResource = FrameGraphSnapshotResourceBase & { descriptor?: FrameGraphSnapshotTextureDescriptor; kind: "texture"; usageFlags: readonly FrameGraphSnapshotTextureUsageFlag[]; } | { descriptor?: FrameGraphSnapshotBufferDescriptor; kind: "buffer"; usageFlags: readonly FrameGraphSnapshotBufferUsageFlag[]; }

Defined in: packages/snapshot/src/types.ts:177

Captured logical texture or buffer and its allocation-facing metadata.

Open source / MIT licensed