Enum bcndecode::BcnEncoding [] [src]

pub enum BcnEncoding {
    Bc1,
    Bc2,
    Bc3,
    Bc4,
    Bc5,
    Bc6H,
}

Encoding type of the source data.

Variants

BC1: 565 color, 1-bit alpha (dxt1)

BC2: 565 color, 4-bit alpha (dxt3)

BC3: 565 color, 2-endpoint 8-bit interpolated alpha (dxt5)

BC4: 1-channel 8-bit via 1 BC3 alpha block

BC5: 2-channel 8-bit via 2 BC3 alpha blocks

BC6: Three color channels (16 bits:16 bits:16 bits) in "half" floating point (16 bit value that consists of an optional sign bit, a 5 bit biased exponent, and a 10 or 11 bit mantissa.)

Trait Implementations

impl Copy for BcnEncoding
[src]

impl Clone for BcnEncoding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more