Enum wgpu_types::AstcBlock
source · #[repr(C)]
pub enum AstcBlock {
Show 14 variants
B4x4,
B5x4,
B5x5,
B6x5,
B6x6,
B8x5,
B8x6,
B8x8,
B10x5,
B10x6,
B10x8,
B10x10,
B12x10,
B12x12,
}
Expand description
ASTC block dimensions
Variants§
B4x4
4x4 block compressed texture. 16 bytes per block (8 bit/px).
B5x4
5x4 block compressed texture. 16 bytes per block (6.4 bit/px).
B5x5
5x5 block compressed texture. 16 bytes per block (5.12 bit/px).
B6x5
6x5 block compressed texture. 16 bytes per block (4.27 bit/px).
B6x6
6x6 block compressed texture. 16 bytes per block (3.56 bit/px).
B8x5
8x5 block compressed texture. 16 bytes per block (3.2 bit/px).
B8x6
8x6 block compressed texture. 16 bytes per block (2.67 bit/px).
B8x8
8x8 block compressed texture. 16 bytes per block (2 bit/px).
B10x5
10x5 block compressed texture. 16 bytes per block (2.56 bit/px).
B10x6
10x6 block compressed texture. 16 bytes per block (2.13 bit/px).
B10x8
10x8 block compressed texture. 16 bytes per block (1.6 bit/px).
B10x10
10x10 block compressed texture. 16 bytes per block (1.28 bit/px).
B12x10
12x10 block compressed texture. 16 bytes per block (1.07 bit/px).
B12x12
12x12 block compressed texture. 16 bytes per block (0.89 bit/px).