ComputePipeline

Constructors

new ComputePipeline(options: ComputePipelineOptions): ComputePipeline

Properties

gpuPipeline

gpuPipeline: GPUComputePipeline

label

label: string

onAfterPass

onAfterPass: PipelineCallback

onBeforePass

onBeforePass: PipelineCallback

pipelineDescriptor

pipelineDescriptor: ComputePipelineDescriptor

workgroupCount

workgroupCount: WorkgroupCount

workgroupSize

workgroupSize: WorkgroupSize

Methods

build

build(layout: GPUPipelineLayout): Promise<void>

getDevice

getDevice(): Promise<GPUDevice>

setDevice

setDevice(d: GPUDevice): void

setLabel

setLabel(label: string): void

setOnAfterPass

setOnAfterPass(f: PipelineCallback): void

setOnBeforePass

setOnBeforePass(f: PipelineCallback): void

setWorkgroupCount

setWorkgroupCount(count: WorkgroupCount): void

setWorkgroupSize

setWorkgroupSize(size: WorkgroupSize): void

You are viewing the beta docs. You may find the legacy docs more helpful.