east Function – uploadTexture
const uploadTexture: (
device: GPUDevice,
texture: GPUTexture,
data: ArrayBuffer,
layout: GPUImageDataLayout,
size: Point | Point3,
offset?: Point | Point3,
mipLevel?: number,
aspect?: GPUTextureAspect,
) => void
Source
packages / core / src / texture.ts