Struct spirv_cross_sys::MslConstexprSampler
source · #[non_exhaustive]#[repr(C)]pub struct MslConstexprSampler {Show 15 fields
pub coord: MslSamplerCoord,
pub min_filter: MslSamplerFilter,
pub mag_filter: MslSamplerFilter,
pub mip_filter: MslSamplerMipFilter,
pub s_address: MslSamplerAddress,
pub t_address: MslSamplerAddress,
pub r_address: MslSamplerAddress,
pub compare_func: MslSamplerCompareFunc,
pub border_color: MslSamplerBorderColor,
pub lod_clamp_min: f32,
pub lod_clamp_max: f32,
pub max_anisotropy: i32,
pub compare_enable: bool,
pub lod_clamp_enable: bool,
pub anisotropy_enable: bool,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.coord: MslSamplerCoord§min_filter: MslSamplerFilter§mag_filter: MslSamplerFilter§mip_filter: MslSamplerMipFilter§s_address: MslSamplerAddress§t_address: MslSamplerAddress§r_address: MslSamplerAddress§compare_func: MslSamplerCompareFunc§border_color: MslSamplerBorderColor§lod_clamp_min: f32§lod_clamp_max: f32§max_anisotropy: i32§compare_enable: bool§lod_clamp_enable: bool§anisotropy_enable: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for MslConstexprSampler
impl RefUnwindSafe for MslConstexprSampler
impl Send for MslConstexprSampler
impl Sync for MslConstexprSampler
impl Unpin for MslConstexprSampler
impl UnwindSafe for MslConstexprSampler
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more