type TextureSource = {
texture: GPUTexture,
view?: GPUTextureView,
sampler: GPUSampler | GPUSamplerDescriptor | null,
layout: string,
format: GPUTextureFormat,
size: VectorLike,
version: number,
mips?: number,
variant?: string,
absolute?: boolean,
volatile?: number,
filter?: FilteringType,
colorSpace?: ColorSpace,
aspect?: GPUTextureAspect,
hint?: string,
label?: string,
}
packages / core / src / types.ts