Skip to content

ComputePipeline

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

getLogBarrierWGSL( pipelineLayout : PipelineLayout ) : string

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.