Skip to content

BufferResource

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

Overview

TODO: doc

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

Class BufferResource

import { BufferResource } from 'scenerystack/alpenglow';

Constructor

new BufferResource( buffer : GPUBuffer, offset, size )

Instance Methods

getBindGroupEntry( binding : Binding ) : GPUBindGroupEntry

toDebugString() : string

Source Code

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