Struct libktx_rs_sys::ktxAstcParams[][src]

#[repr(C)]
pub struct ktxAstcParams { pub structSize: ktx_uint32_t, pub verbose: ktx_bool_t, pub threadCount: ktx_uint32_t, pub blockDimension: ktx_uint32_t, pub function: ktx_uint32_t, pub mode: ktx_uint32_t, pub qualityLevel: ktx_uint32_t, pub normalMap: ktx_bool_t, pub inputSwizzle: [c_char; 4], }
Expand description

@memberof ktxTexture @~English @brief Structure for passing extended parameters to ktxTexture_CompressAstc.

Passing a struct initialized to 0 (e.g. “ = {};“) will use the default values. Only those settings to be modified need be non-zero.

Fields

structSize: ktx_uint32_tverbose: ktx_bool_tthreadCount: ktx_uint32_tblockDimension: ktx_uint32_t

astcenc params

function: ktx_uint32_tmode: ktx_uint32_tqualityLevel: ktx_uint32_tnormalMap: ktx_bool_tinputSwizzle: [c_char; 4]

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

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 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.