Resource¶
Overview¶
TODO: doc
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class Resource¶
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.