UNPKG

typegpu

Version:

A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.

9 lines (8 loc) 268 B
export type TextureProps = { size: readonly number[]; format: GPUTextureFormat; viewFormats?: GPUTextureFormat[] | undefined; dimension?: GPUTextureDimension | undefined; mipLevelCount?: number | undefined; sampleCount?: number | undefined; };