Skip to content

ZenFG TypeScript API / webgpu / root / TextureViewHandle

Type Alias: TextureViewHandle

TextureViewHandle = object

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

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

__brand

readonly __brand: "TextureViewHandle"

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

Compile-time brand; callers must not construct handles manually.


id

readonly id: number

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

Graph-local diagnostic identifier.


kind

readonly kind: "texture-view"

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

View discriminator.


label?

readonly optional label?: string

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

Optional diagnostic label copied from the descriptor.

Open source / MIT licensed