Skip to content

ZenFG TypeScript API / webgpu / root / TextureOrigin

Type Alias: TextureOrigin

TextureOrigin = Iterable<number> | GPUOrigin3DDict

Defined in: packages/webgpu/src/types.ts:148

Beta

A WebGPU texture origin accepted by a copy operation.

Iterable origins, including typed arrays, are materialized when the copy operation is registered.

Open source / MIT licensed