Skip to content

BindGroupLayout

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

Overview

TODO: doc

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

Class BindGroupLayout

import { BindGroupLayout } from 'scenerystack/alpenglow';

Constructor

new BindGroupLayout( deviceContext : DeviceContext, name : string, groupIndex : number, bindingDescriptors : BindingDescriptor[] )

Instance Methods

hasBindingWithSlot( slot : ResourceSlot ) : boolean

getBindingFromSlot( slot : ResourceSlot ) : Binding | null

Instance Properties

layout : GPUBindGroupLayout

(readonly)

bindings : Binding[]

(readonly)

Source Code

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