ZenFG TypeScript API / webgpu / root / BufferHandle
Type Alias: BufferHandle
BufferHandle =
object
Defined in: packages/webgpu/src/types.ts:238
Beta
An opaque, stable logical buffer identity owned by one FrameGraph recording.
The handle is not a physical GPUBuffer or an immutable value version. Node recording order and the selected byte range determine which logical value an access consumes or produces. A handle cannot be used by another recorder, and recording APIs reject it after its recorder is consumed by compile().
Properties
__brand
readonly__brand:"BufferHandle"
Defined in: packages/webgpu/src/types.ts:246
Compile-time brand; callers must not construct handles manually.
id
readonlyid:number
Defined in: packages/webgpu/src/types.ts:240
Graph-local diagnostic identifier.
kind
readonlykind:"buffer"
Defined in: packages/webgpu/src/types.ts:242
Resource discriminator.
label?
readonlyoptionallabel?:string
Defined in: packages/webgpu/src/types.ts:244
Optional diagnostic label copied from the descriptor.