Skip to content

Documentation / device / PBComputeOptions

Interface: PBComputeOptions ​

Defined in: libs/device/src/builder/programbuilder.ts:136

Compute program build options

Properties ​

label? ​

optional label?: string

Defined in: libs/device/src/builder/programbuilder.ts:138

program label for debugging


workgroupSize ​

workgroupSize: [number, number, number]

Defined in: libs/device/src/builder/programbuilder.ts:140

workgroup size

Methods ​

compute() ​

compute(this, pb): void

Defined in: libs/device/src/builder/programbuilder.ts:142

compute shader

Parameters ​

this ​

PBGlobalScope

pb ​

ProgramBuilder

Returns ​

void

Released under the MIT License.