type StorageSource = {
buffer: GPUBuffer,
format: any,
type?: ShaderModule<any>,
length: number,
size:
| number[]
| | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array,
version: number,
volatile?: number,
readWrite?: boolean,
byteOffset?: number,
byteLength?: number,
colorSpace?: any,
}
packages / shader / src / types.ts