Skip to content

Binding

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

Overview

TODO: doc

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

Class Binding

import { Binding } from 'scenerystack/alpenglow';

Constructor

new Binding( location : BindingLocation, bindingType : BindingType, slot : ResourceSlot )

Instance Methods

getWGSLDeclaration( name : string ) : WGSLModuleDeclarations

Source Code

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