#[repr(C)]
pub enum AstcBlock {
Show 14 variants B4x4, B5x4, B5x5, B6x5, B6x6, B8x5, B8x6, B8x8, B10x5, B10x6, B10x8, B10x10, B12x10, B12x12,
}
Expand description

ASTC block dimensions

Variants

B4x4

4x4 block compressed texture. 16 bytes per block (8 bit/px).

B5x4

5x4 block compressed texture. 16 bytes per block (6.4 bit/px).

B5x5

5x5 block compressed texture. 16 bytes per block (5.12 bit/px).

B6x5

6x5 block compressed texture. 16 bytes per block (4.27 bit/px).

B6x6

6x6 block compressed texture. 16 bytes per block (3.56 bit/px).

B8x5

8x5 block compressed texture. 16 bytes per block (3.2 bit/px).

B8x6

8x6 block compressed texture. 16 bytes per block (2.67 bit/px).

B8x8

8x8 block compressed texture. 16 bytes per block (2 bit/px).

B10x5

10x5 block compressed texture. 16 bytes per block (2.56 bit/px).

B10x6

10x6 block compressed texture. 16 bytes per block (2.13 bit/px).

B10x8

10x8 block compressed texture. 16 bytes per block (1.6 bit/px).

B10x10

10x10 block compressed texture. 16 bytes per block (1.28 bit/px).

B12x10

12x10 block compressed texture. 16 bytes per block (1.07 bit/px).

B12x12

12x12 block compressed texture. 16 bytes per block (0.89 bit/px).

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

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

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.