Skip to content

ComputePass

Overview

TODO: doc

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class ComputePass

import { ComputePass } from 'scenerystack/alpenglow';

Constructor

new ComputePass( encoder : GPUCommandEncoder, computePassDescriptor : GPUComputePassDescriptor )

Instance Methods

dispatchPipeline( computePipeline : ComputePipeline, bindGroups : BindGroup[], dispatchX, dispatchY, dispatchZ ) : this

dispatchPipelineIndirect( computePipeline : ComputePipeline, bindGroups : BindGroup[], indirectBuffer : GPUBuffer, indirectOffset : number ) : this

end()

Instance Properties

id

(readonly)

computePassEncoder : GPUComputePassEncoder

(readonly)

Source Code

See the source for ComputePass.ts in the alpenglow repository.