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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.