@tmrw-realityos/charm / Exports / FrameGraphPass
Class: FrameGraphPass
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new FrameGraphPass(name, desc, graph): FrameGraphPass
Parameters
| Name | Type |
|---|---|
name | string |
desc | FrameGraphPassDescriptor |
graph | FrameGraph |
Returns
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:87
Properties
data
• Optional data: unknown
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:78
execute
• Optional execute: (renderPass: GPURenderPassEncoder, graphPass?: FrameGraphPass) => void
Type declaration
▸ (renderPass, graphPass?): void
Parameters
| Name | Type |
|---|---|
renderPass | GPURenderPassEncoder |
graphPass? | FrameGraphPass |
Returns
void
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:82
graph
• graph: FrameGraph
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:79
index
• index: number = 0
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:71
inputs
• inputs: TextureHandler[] = []
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:73
name
• name: string
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:69
outputs
• outputs: TextureHandler[] = []
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:74
renderPassDescriptor
• Optional renderPassDescriptor: GPURenderPassDescriptor
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:76
resources_by_id
• resources_by_id: Map<string, TextureHandler>
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:75
setup
• setup: (graph: FrameGraph, pass?: FrameGraphPass) => void
Type declaration
▸ (graph, pass?): void
Parameters
| Name | Type |
|---|---|
graph | FrameGraph |
pass? | FrameGraphPass |
Returns
void
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:81
skip
• skip: boolean = false
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:77
type
• type: ePassType
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:70
Accessors
clearColor
• get clearColor(): [number, number, number, number]
Returns
[number, number, number, number]
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:103
• set clearColor(color): void
Parameters
| Name | Type |
|---|---|
color | [number, number, number, number] |
Returns
void
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:96
output
• get output(): TextureHandler
Returns
Defined in
packages/charm/src/graphics/WebGPU/WebGPUFrameGraph.ts:113
Methods
get
▸ get(name): TextureHandler
Parameters
| Name | Type |
|---|---|
name | string |