Skip to content

Resource

Overview

TODO: doc

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

Class Resource

import { Resource } from 'scenerystack/alpenglow';

Constructor

new Resource( resource : GPUBuffer | GPUTextureView )

Instance Methods

getBindGroupEntry( binding : Binding ) : GPUBindGroupEntry

TODO: consider modifying to just BufferLocation or bindingIndex

toDebugString() : string

Instance Properties

id : number

(readonly)

Source Code

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