ZenFG TypeScript API / webgpu / root / TextureHandle
Type Alias: TextureHandle
TextureHandle =
object
Defined in: packages/webgpu/src/types.ts:197
Beta
An opaque, stable logical texture identity owned by one FrameGraph recording.
The handle is not a physical GPUTexture or an immutable value version. Node recording order and the selected subresources 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:"TextureHandle"
Defined in: packages/webgpu/src/types.ts:205
Compile-time brand; callers must not construct handles manually.
id
readonlyid:number
Defined in: packages/webgpu/src/types.ts:199
Graph-local diagnostic identifier.
kind
readonlykind:"texture"
Defined in: packages/webgpu/src/types.ts:201
Resource discriminator.
label?
readonlyoptionallabel?:string
Defined in: packages/webgpu/src/types.ts:203
Optional diagnostic label copied from the descriptor.