import { type TextureFormatInfo } from "https://deno.land/std@0.221.0/webgpu/describe_texture_format.ts";
Return type for describeTextureFormat
.
Properties
optional
requiredFeature: GPUFeatureNameThe specific feature needed to use the format, if any.
sampleType: GPUTextureSampleType
Type of sampling that is valid for the texture.
Valid bits of GPUTextureUsage
.
Dimension of a "block" of texels. This is always [1, 1]
on
uncompressed textures.
Size in bytes of a "block" of texels. This is the size per pixel on uncompressed textures.