Skip to content

ZenFG TypeScript API / webgpu / root / TextureViewHandle

Type Alias: TextureViewHandle ​

TextureViewHandle = object

Defined in: packages/webgpu/src/types.ts:219

Beta

An opaque logical view of a texture owned by one FrameGraph recording.

The handle selects format, dimension, aspect, mip levels, and array layers, but does not own a separate physical allocation or capture a logical value. Its value is resolved from its node position just like its parent texture.

Properties ​

[handleBrand] ​

readonly [handleBrand]: "TextureViewHandle"

Defined in: packages/webgpu/src/types.ts:227

Private compile-time brand; use a recording factory to obtain handles.


id ​

readonly id: number

Defined in: packages/webgpu/src/types.ts:221

Graph-local diagnostic identifier.


kind ​

readonly kind: "texture-view"

Defined in: packages/webgpu/src/types.ts:223

View discriminator.


label? ​

readonly optional label?: string

Defined in: packages/webgpu/src/types.ts:225

Optional diagnostic label copied from the descriptor.

Open source / MIT licensed