Enum grr::SamplerAddress
source · pub enum SamplerAddress {
Repeat,
MirrorRepeat,
ClampEdge,
ClampBorder,
MirrorClampEdge,
}
Expand description
Sampler addressing mode.
Specifies how coordinates outide of the texture coordinate system ([0, 1]
) are treated during
sampling operations.
Variants
Repeat
MirrorRepeat
ClampEdge
ClampBorder
MirrorClampEdge
Trait Implementations
sourceimpl Clone for SamplerAddress
impl Clone for SamplerAddress
sourcefn clone(&self) -> SamplerAddress
fn clone(&self) -> SamplerAddress
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 moresourceimpl Debug for SamplerAddress
impl Debug for SamplerAddress
sourceimpl Hash for SamplerAddress
impl Hash for SamplerAddress
sourceimpl PartialEq<SamplerAddress> for SamplerAddress
impl PartialEq<SamplerAddress> for SamplerAddress
sourcefn eq(&self, other: &SamplerAddress) -> bool
fn eq(&self, other: &SamplerAddress) -> bool
impl Copy for SamplerAddress
impl Eq for SamplerAddress
impl StructuralEq for SamplerAddress
impl StructuralPartialEq for SamplerAddress
Auto Trait Implementations
impl RefUnwindSafe for SamplerAddress
impl Send for SamplerAddress
impl Sync for SamplerAddress
impl Unpin for SamplerAddress
impl UnwindSafe for SamplerAddress
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