Struct grr::SamplerDesc
source · pub struct SamplerDesc {
pub min_filter: Filter,
pub mag_filter: Filter,
pub mip_map: Option<Filter>,
pub address: (SamplerAddress, SamplerAddress, SamplerAddress),
pub lod_bias: f32,
pub lod: Range<f32>,
pub compare: Option<Compare>,
pub border_color: [f32; 4],
}
Expand description
Fields
min_filter: Filter
mag_filter: Filter
mip_map: Option<Filter>
address: (SamplerAddress, SamplerAddress, SamplerAddress)
lod_bias: f32
lod: Range<f32>
compare: Option<Compare>
border_color: [f32; 4]
Trait Implementations
sourceimpl Clone for SamplerDesc
impl Clone for SamplerDesc
sourcefn clone(&self) -> SamplerDesc
fn clone(&self) -> SamplerDesc
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for SamplerDesc
impl Send for SamplerDesc
impl Sync for SamplerDesc
impl Unpin for SamplerDesc
impl UnwindSafe for SamplerDesc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more