| 1234567891011121314151617181920212223 | import WebGPUBinding from './WebGPUBinding.js';import { GPUBindingType } from './constants.js';class WebGPUStorageBuffer extends WebGPUBinding {	constructor( name, attribute ) {		super( name );		this.type = GPUBindingType.StorageBuffer;		this.usage = GPUBufferUsage.VERTEX | GPUBufferUsage.STORAGE | GPUBufferUsage.COPY_DST;		this.attribute = attribute;		this.bufferGPU = null; // set by the renderer	}}WebGPUStorageBuffer.prototype.isStorageBuffer = true;export default WebGPUStorageBuffer;
 |