Skip to content

@tmrw-realityos/charmDocs


@tmrw-realityos/charm / TextureHandler

Class: TextureHandler

Constructors

new TextureHandler()

new TextureHandler(descriptor): TextureHandler

Parameters

descriptor: TextureDescriptor

Returns

TextureHandler

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:63

Properties

descriptor

descriptor: TextureDescriptor

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:54


external

external: boolean = false

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:61


firstPass

firstPass: number = -1

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:58


lastPass

lastPass: number = -1

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:59


name?

optional name: string

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:53


passes

passes: FrameGraphPass[] = []

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:55


target

target: number = 0

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:57


texture?

optional texture: GPUTexture

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:60


usage

usage: number = 0

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:56

Methods

clear()

clear(): void

Returns

void

Defined in

packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:67