Skip to content

PipelineBlueprint

Overview

TODO: doc

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

Class PipelineBlueprint

import { PipelineBlueprint } from 'scenerystack/alpenglow';

Constructor

new PipelineBlueprint( providedOptions : PipelineBlueprintOptions )

Instance Methods

toComputePipeline( deviceContext : DeviceContext, pipelineLayout : PipelineLayout ) : Promise<ComputePipeline>

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)

Static Properties

LOG_BUFFER_SLOT : BufferSlot

(readonly)

TODO: oh no, we need to put the atomic in here(!) TODO: Or actually, just an ability to put structs of arbitrary types in ConcreteTypes

Type PipelineBlueprintOptions

import type { PipelineBlueprintOptions } from 'scenerystack/alpenglow';
  • 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.