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