Struct libktx_rs_sys::ktxBasisParams [−][src]
#[repr(C)]pub struct ktxBasisParams {}Show fields
pub structSize: ktx_uint32_t, pub uastc: ktx_bool_t, pub verbose: ktx_bool_t, pub noSSE: ktx_bool_t, pub threadCount: ktx_uint32_t, pub compressionLevel: ktx_uint32_t, pub qualityLevel: ktx_uint32_t, pub maxEndpoints: ktx_uint32_t, pub endpointRDOThreshold: f32, pub maxSelectors: ktx_uint32_t, pub selectorRDOThreshold: f32, pub inputSwizzle: [c_char; 4], pub normalMap: ktx_bool_t, pub separateRGToRGB_A: ktx_bool_t, pub preSwizzle: ktx_bool_t, pub noEndpointRDO: ktx_bool_t, pub noSelectorRDO: ktx_bool_t, pub uastcFlags: ktx_pack_uastc_flags, pub uastcRDO: ktx_bool_t, pub uastcRDOQualityScalar: f32, pub uastcRDODictSize: ktx_uint32_t, pub uastcRDOMaxSmoothBlockErrorScale: f32, pub uastcRDOMaxSmoothBlockStdDev: f32, pub uastcRDODontFavorSimplerModes: ktx_bool_t, pub uastcRDONoMultithreading: ktx_bool_t,
Expand description
@memberof ktxTexture2 @~English @brief Structure for passing extended parameters to ktxTexture2_CompressBasisEx.
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_tuastc: ktx_bool_tverbose: ktx_bool_tnoSSE: ktx_bool_tthreadCount: ktx_uint32_tcompressionLevel: ktx_uint32_tETC1S params
qualityLevel: ktx_uint32_tmaxEndpoints: ktx_uint32_tendpointRDOThreshold: f32maxSelectors: ktx_uint32_tselectorRDOThreshold: f32inputSwizzle: [c_char; 4]normalMap: ktx_bool_tseparateRGToRGB_A: ktx_bool_tpreSwizzle: ktx_bool_tnoEndpointRDO: ktx_bool_tnoSelectorRDO: ktx_bool_tuastcFlags: ktx_pack_uastc_flagsUASTC params
uastcRDO: ktx_bool_tuastcRDOQualityScalar: f32uastcRDODictSize: ktx_uint32_tuastcRDOMaxSmoothBlockErrorScale: f32uastcRDOMaxSmoothBlockStdDev: f32uastcRDODontFavorSimplerModes: ktx_bool_tuastcRDONoMultithreading: ktx_bool_tTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ktxBasisParamsimpl Send for ktxBasisParamsimpl Sync for ktxBasisParamsimpl Unpin for ktxBasisParamsimpl UnwindSafe for ktxBasisParamsBlanket Implementations
Mutably borrows from an owned value. Read more