ZenFG TypeScript API / webgpu / root / BufferHandle
Type Alias: BufferHandle
BufferHandle =
object
Defined in: packages/webgpu/src/types.ts:240
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
[handleBrand]
readonly[handleBrand]:"BufferHandle"
Defined in: packages/webgpu/src/types.ts:248
Private compile-time brand; use a recording factory to obtain handles.
id
readonlyid:number
Defined in: packages/webgpu/src/types.ts:242
Graph-local diagnostic identifier.
kind
readonlykind:"buffer"
Defined in: packages/webgpu/src/types.ts:244
Resource discriminator.
label?
readonlyoptionallabel?:string
Defined in: packages/webgpu/src/types.ts:246
Optional diagnostic label copied from the descriptor.