[][src]Struct astcenc_sys::astcenc_config

#[repr(C)]pub struct astcenc_config {
    pub profile: astcenc_profile,
    pub flags: c_uint,
    pub block_x: c_uint,
    pub block_y: c_uint,
    pub block_z: c_uint,
    pub v_rgba_radius: c_uint,
    pub v_rgba_mean_stdev_mix: f32,
    pub v_rgb_power: f32,
    pub v_rgb_base: f32,
    pub v_rgb_mean: f32,
    pub v_rgb_stdev: f32,
    pub v_a_power: f32,
    pub v_a_base: f32,
    pub v_a_mean: f32,
    pub v_a_stdev: f32,
    pub cw_r_weight: f32,
    pub cw_g_weight: f32,
    pub cw_b_weight: f32,
    pub cw_a_weight: f32,
    pub a_scale_radius: c_uint,
    pub b_deblock_weight: f32,
    pub tune_partition_limit: c_uint,
    pub tune_block_mode_limit: c_uint,
    pub tune_refinement_limit: c_uint,
    pub tune_db_limit: f32,
    pub tune_partition_early_out_limit: f32,
    pub tune_two_plane_early_out_limit: f32,
}

Fields

profile: astcenc_profileflags: c_uintblock_x: c_uintblock_y: c_uintblock_z: c_uintv_rgba_radius: c_uintv_rgba_mean_stdev_mix: f32v_rgb_power: f32v_rgb_base: f32v_rgb_mean: f32v_rgb_stdev: f32v_a_power: f32v_a_base: f32v_a_mean: f32v_a_stdev: f32cw_r_weight: f32cw_g_weight: f32cw_b_weight: f32cw_a_weight: f32a_scale_radius: c_uintb_deblock_weight: f32tune_partition_limit: c_uinttune_block_mode_limit: c_uinttune_refinement_limit: c_uinttune_db_limit: f32tune_partition_early_out_limit: f32tune_two_plane_early_out_limit: f32

Trait Implementations

impl Clone for astcenc_config[src]

impl Copy for astcenc_config[src]

impl Debug for astcenc_config[src]

impl PartialEq<astcenc_config> for astcenc_config[src]

impl StructuralPartialEq for astcenc_config[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.