Struct spirv_cross2::compile::msl::ConstexprSampler
source · #[repr(C)]pub struct ConstexprSampler {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,
}Available on crate feature
msl only.Expand description
An MSL constexpr inlined sampler.
Fields§
§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§
source§impl Default for MslConstexprSampler
impl Default for MslConstexprSampler
source§fn default() -> MslConstexprSampler
fn default() -> MslConstexprSampler
Returns the “default value” for a type. Read more
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