Skip to content

Module

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/Module.ts for the most up-to-date information.

Overview

TODO: doc

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

Class Module

import { Module } from 'scenerystack/alpenglow';

Constructor

new Module( pipelineBlueprints : PipelineBlueprint[], execute : ( context: ExecutionContext, data: T ) => void )

Instance Methods

getResourceSlots() : ResourceSlot[]

getTopLevelResourceSlots( sharedBufferSlots : BufferSlot[] ) : ResourceSlot[]

Source Code

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