PipelineBlueprint¶
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/PipelineBlueprint.ts for the most up-to-date information.
Overview¶
TODO: doc
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class PipelineBlueprint¶
Constructor¶
new PipelineBlueprint( providedOptions : PipelineBlueprintOptions )¶
Instance Methods¶
add( name : string, declarations : WGSLModuleDeclarations )¶
addSlot( name : string, slot : ResourceSlot, bindingType : BindingType )¶
toString( pipelineLayout : PipelineLayout ) : string¶
toDebugString() : string¶
Instance Properties¶
usages : ResourceUsage[]¶
(readonly)
name : string¶
(readonly)
log : boolean¶
(readonly)
Type PipelineBlueprintOptions¶
- name: string
- log?: boolean
TODO: NOTE that this is not really... needed? Can we remove it? (log should only be for the WGSL generation)
Source Code¶
See the source for PipelineBlueprint.ts in the alpenglow repository.