Struct libktx_rs::texture::AstcParams[][src]

pub struct AstcParams {
    pub verbose: bool,
    pub thread_count: u32,
    pub block_dimension: PackAstcBlockDimension,
    pub function: PackAstcEncoderFunction,
    pub mode: PackAstcEncoderMode,
    pub quality_level: PackAstcQualityLevel,
    pub normal_map: bool,
    pub input_swizzle: [char; 4],
}
Expand description

Parameters for ASTC compression.

This only applies to Arm’s ASTC encoder, which is in libktx-rs-sys/build/KTX-Software/lib/astc-encoder.
See sys::ktxAstcParams for information on the various fields.

Fields

verbose: boolthread_count: u32block_dimension: PackAstcBlockDimensionfunction: PackAstcEncoderFunctionmode: PackAstcEncoderModequality_level: PackAstcQualityLevelnormal_map: boolinput_swizzle: [char; 4]

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

Performs the conversion.

Performs the conversion.

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.