const uploadTexture: (
device: GPUDevice,
texture: GPUTexture,
data: ArrayBuffer,
layout: GPUImageDataLayout,
size: VectorLike,
offset?: VectorLike,
mipLevel?: number,
aspect?: GPUTextureAspect,
) => void
packages / core / src / texture.ts