Skip to main content

Module texture_format

Module texture_format 

Source
Expand description

Mirrors wgpu::TextureFormat exactly (every variant, including the nested Astc block/channel), so a texture’s format never needs a raw wgpu::TextureFormat — not even for exotic/compressed formats. Convert either direction via .into().

Enums§

AstcBlock
ASTC block dimensions — mirrors wgpu::AstcBlock.
AstcChannel
ASTC RGBA channel — mirrors wgpu::AstcChannel.
TextureFormat
GPU texel storage format — mirrors wgpu::TextureFormat exactly (same variants, same names).