TextureFormatCompression extension
Whether a TextureFormat is stored in fixed-size blocks rather than one value per texel, and — for the formats where it is — how big those blocks are.
Properties
- blockLayout → TextureBlockLayout
-
Available on TextureFormat, provided by the TextureFormatCompression extension
The block this format is stored in.no setter - isCompressed → bool
-
Available on TextureFormat, provided by the TextureFormatCompression extension
Sample-only everywhere: cannot be a render target, cannot be written by a shader, cannot be multisampled. See the doc comment on the enum's block-compressed tail for what every backend does with one instead.no setter