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
Adaptive Scalable Texture Compression.
S3TC Block Compression 1, also known as DXT1.
S3TC Block Compression 2, also known as DXT2 (with premultiplied alpha) and DXT3 (no premultiplied alpha).
S3TC Block Compression 3, also known as DXT4 (with premultiplied alpha) and DXT5 (no premultiplied alpha).
S3TC Block Compression 4.
S3TC Block Compression 5.
S3TC Block Compression 6 or 6H.
S3TC Block Compression 7.
Ericsson Texture Compression 2.
ETC2 Alpha Compression.
PowerVR Texture Compression 1.
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.