const useReadbackStorage: (
source: StorageSource,
buffers?: number,
) => {
dispatchCopy: () => GPUCommandBuffer | null | undefined,
asyncRead:
() => Promise< | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | null>,
}
packages / workbench / src / hooks / useReadbackStorage.ts