[][src]Struct intel_genxml::gen5::SamplerState

pub struct SamplerState<A: Addr + Default> {
    pub shadow_function: u32,
    pub texture_lod_bias: f32,
    pub min_mode_filter: u32,
    pub mag_mode_filter: u32,
    pub mip_mode_filter: u32,
    pub base_mip_level: f32,
    pub lod_preclamp_enable: bool,
    pub sampler_disable: bool,
    pub tcz_address_control_mode: TextureCoordinateMode,
    pub tcy_address_control_mode: TextureCoordinateMode,
    pub tcx_address_control_mode: TextureCoordinateMode,
    pub cube_surface_control_mode: u32,
    pub max_lod: f32,
    pub min_lod: f32,
    pub border_color_pointer: A,
    pub r_address_min_filter_rounding_enable: bool,
    pub r_address_mag_filter_rounding_enable: bool,
    pub v_address_min_filter_rounding_enable: bool,
    pub v_address_mag_filter_rounding_enable: bool,
    pub u_address_min_filter_rounding_enable: bool,
    pub u_address_mag_filter_rounding_enable: bool,
    pub maximum_anisotropy: u32,
    pub chromakey_mode: u32,
    pub chromakey_index: u32,
    pub chromakey_enable: bool,
    pub monochrome_filter_width: u32,
    pub monochrome_filter_height: u32,
}

Fields

shadow_function: u32texture_lod_bias: f32min_mode_filter: u32mag_mode_filter: u32mip_mode_filter: u32base_mip_level: f32lod_preclamp_enable: boolsampler_disable: booltcz_address_control_mode: TextureCoordinateModetcy_address_control_mode: TextureCoordinateModetcx_address_control_mode: TextureCoordinateModecube_surface_control_mode: u32max_lod: f32min_lod: f32border_color_pointer: Ar_address_min_filter_rounding_enable: boolr_address_mag_filter_rounding_enable: boolv_address_min_filter_rounding_enable: boolv_address_mag_filter_rounding_enable: boolu_address_min_filter_rounding_enable: boolu_address_mag_filter_rounding_enable: boolmaximum_anisotropy: u32chromakey_mode: u32chromakey_index: u32chromakey_enable: boolmonochrome_filter_width: u32monochrome_filter_height: u32

Methods

impl<A: Addr + Default> SamplerState<A>[src]

pub const DWORD_LENGTH: u32[src]

pub const ANISOTROPIC: u32[src]

pub const CUBECTRLMODE_OVERRIDE: u32[src]

pub const CUBECTRLMODE_PROGRAMMED: u32[src]

pub const KILL_ON_ANY_MATCH: u32[src]

pub const MONO: u32[src]

pub const NONE: u32[src]

pub const PREFILTEROP_ALWAYS: u32[src]

pub const PREFILTEROP_EQUAL: u32[src]

pub const PREFILTEROP_GEQUAL: u32[src]

pub const PREFILTEROP_GREATER: u32[src]

pub const PREFILTEROP_LEQUAL: u32[src]

pub const PREFILTEROP_LESS: u32[src]

pub const PREFILTEROP_NEVER: u32[src]

pub const PREFILTEROP_NOTEQUAL: u32[src]

pub const RATIO_10_1: u32[src]

pub const RATIO_12_1: u32[src]

pub const RATIO_14_1: u32[src]

pub const RATIO_16_1: u32[src]

pub const RATIO_2_1: u32[src]

pub const RATIO_4_1: u32[src]

pub const RATIO_6_1: u32[src]

pub const RATIO_8_1: u32[src]

pub const REPLACE_BLACK: u32[src]

Trait Implementations

impl<A: Addr + Default> Default for SamplerState<A>[src]

impl Deserialize for SamplerState<u64>[src]

impl<'_> From<&'_ [u32; 4]> for SamplerState<u64>[src]

impl<A: Addr + Default> Serialize for SamplerState<A>[src]

type Out = [u32; 4]

Auto Trait Implementations

impl<A> RefUnwindSafe for SamplerState<A> where
    A: RefUnwindSafe

impl<A> Send for SamplerState<A> where
    A: Send

impl<A> Sync for SamplerState<A> where
    A: Sync

impl<A> Unpin for SamplerState<A> where
    A: Unpin

impl<A> UnwindSafe for SamplerState<A> where
    A: UnwindSafe

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