Skip to content

BindGroupLayout

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.