Enum vulkano::format::CompressionType [−][src]
pub enum CompressionType {
ASTC,
BC1,
BC2,
BC3,
BC4,
BC5,
BC6H,
BC7,
ETC2,
EAC,
PVRTC1,
PVRTC2,
}
Expand description
The block compression scheme used in a format.
Variants
ASTC
Adaptive Scalable Texture Compression.
BC1
S3TC Block Compression 1, also known as DXT1.
BC2
S3TC Block Compression 2, also known as DXT2 (with premultiplied alpha) and DXT3 (no premultiplied alpha).
BC3
S3TC Block Compression 3, also known as DXT4 (with premultiplied alpha) and DXT5 (no premultiplied alpha).
BC4
S3TC Block Compression 4.
BC5
S3TC Block Compression 5.
BC6H
S3TC Block Compression 6 or 6H.
BC7
S3TC Block Compression 7.
ETC2
Ericsson Texture Compression 2.
EAC
ETC2 Alpha Compression.
PVRTC1
PowerVR Texture Compression 1.
PVRTC2
PowerVR Texture Compression 2.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CompressionType
impl Send for CompressionType
impl Sync for CompressionType
impl Unpin for CompressionType
impl UnwindSafe for CompressionType
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.