Type Alias image::codecs::dxt::DxtVariant
source · pub type DxtVariant = DXTVariant;
Expand description
Aliased Type§
enum DxtVariant {
DXT1,
DXT3,
DXT5,
}
Variants§
DXT1
The DXT1 format. 48 bytes of RGB data in a 4x4 pixel square is compressed into an 8 byte block of DXT1 data
DXT3
The DXT3 format. 64 bytes of RGBA data in a 4x4 pixel square is compressed into a 16 byte block of DXT3 data
DXT5
The DXT5 format. 64 bytes of RGBA data in a 4x4 pixel square is compressed into a 16 byte block of DXT5 data