[−][src]Struct glium::uniforms::SamplerBehavior
Behavior of a sampler.
Fields
wrap_function: (SamplerWrapFunction, SamplerWrapFunction, SamplerWrapFunction)Functions to use for the X, Y, and Z coordinates.
minify_filter: MinifySamplerFilterFilter to use when minifying the texture.
magnify_filter: MagnifySamplerFilterFilter to use when magnifying the texture.
depth_texture_comparison: Option<DepthTextureComparison>The depth texture comparison function to use. Default value is None.
max_anisotropy: u161 means no anisotropic filtering, any value above 1 sets the max anisotropy.
Compatibility
This parameter is always available. However it is ignored on hardware that does not support anisotropic filtering.
If you set the value to a value higher than what the hardware supports, it will be clamped.
Trait Implementations
impl Clone for SamplerBehavior[src]
fn clone(&self) -> SamplerBehavior[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for SamplerBehavior[src]
impl Debug for SamplerBehavior[src]
impl Default for SamplerBehavior[src]
fn default() -> SamplerBehavior[src]
impl Eq for SamplerBehavior[src]
impl Hash for SamplerBehavior[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<SamplerBehavior> for SamplerBehavior[src]
fn eq(&self, other: &SamplerBehavior) -> bool[src]
fn ne(&self, other: &SamplerBehavior) -> bool[src]
impl StructuralEq for SamplerBehavior[src]
impl StructuralPartialEq for SamplerBehavior[src]
Auto Trait Implementations
impl RefUnwindSafe for SamplerBehavior
impl Send for SamplerBehavior
impl Sync for SamplerBehavior
impl Unpin for SamplerBehavior
impl UnwindSafe for SamplerBehavior
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Content for T where
T: Copy, [src]
T: Copy,
type Owned = T
A type that holds a sized version of the content.
fn read<F, E>(usize, F) -> Result<T, E> where
F: FnOnce(&mut T) -> Result<(), E>, [src]
F: FnOnce(&mut T) -> Result<(), E>,
fn get_elements_size() -> usize[src]
fn to_void_ptr(&Self) -> *const ()[src]
fn ref_from_ptr(*mut (), usize) -> Option<*mut T>[src]
fn is_size_suitable(usize) -> bool[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,