Skip to content

ComputePipeline

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/webgpu/compute/ComputePipeline.ts for the most up-to-date information.

Overview

TODO: doc

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

Class ComputePipeline

import { ComputePipeline } from 'scenerystack/alpenglow';

Instance Properties

pipeline : GPUComputePipeline

This will be available by the time it can be accessed publicly

logBarrierPipeline : GPUComputePipeline | null

Static Methods

withContextAsync( deviceContext : DeviceContext, name : string, wgsl : string, pipelineLayout : PipelineLayout ) : Promise<ComputePipeline>

NOTE: Create the non-async version if we ever REALLY want it.

Source Code

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