> Development branch documentation · commit 327c05c78d2f528e4f4a679fcc7a77d9aa161f48
> Package versions: @zenfg/webgpu 0.1.0, @zenfg/snapshot 0.1.0, @zenfg/inspector 0.1.0, zenfg 0.1.0, zenfg-snapshot 0.1.0
> Source: https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/webgpu/src/types.ts#L197

[ZenFG TypeScript API](/zenfg/docs/api/index.md) / [webgpu](/zenfg/docs/api/webgpu/index.md) / [root](/zenfg/docs/api/webgpu/root/index.md) / TextureHandle

# Type Alias: TextureHandle

> **TextureHandle** = `object`

Defined in: [packages/webgpu/src/types.ts:197](https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/webgpu/src/types.ts#L197)

**`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](https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/webgpu/src/types.ts#L205)

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

***

### id

> `readonly` **id**: `number`

Defined in: [packages/webgpu/src/types.ts:199](https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/webgpu/src/types.ts#L199)

Graph-local diagnostic identifier.

***

### kind

> `readonly` **kind**: `"texture"`

Defined in: [packages/webgpu/src/types.ts:201](https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/webgpu/src/types.ts#L201)

Resource discriminator.

***

### label?

> `readonly` `optional` **label?**: `string`

Defined in: [packages/webgpu/src/types.ts:203](https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/webgpu/src/types.ts#L203)

Optional diagnostic label copied from the descriptor.
