ZenFG TypeScript API / snapshot / root / FrameGraphSnapshotResource
Type Alias: FrameGraphSnapshotResource
FrameGraphSnapshotResource =
FrameGraphSnapshotResourceBase& {descriptor?:FrameGraphSnapshotTextureDescriptor;kind:"texture";usageFlags: readonlyFrameGraphSnapshotTextureUsageFlag[]; } | {descriptor?:FrameGraphSnapshotBufferDescriptor;kind:"buffer";usageFlags: readonlyFrameGraphSnapshotBufferUsageFlag[]; }
Defined in: packages/snapshot/src/types.ts:177
Captured logical texture or buffer and its allocation-facing metadata.