[−][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: MinifySamplerFilter
Filter to use when minifying the texture.
magnify_filter: MagnifySamplerFilter
Filter to use when magnifying the texture.
depth_texture_comparison: Option<DepthTextureComparison>
The depth texture comparison function to use. Default value is None.
max_anisotropy: u16
1
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][+]
impl Copy for SamplerBehavior
[src]
impl Debug for SamplerBehavior
[src][+]
impl Default for SamplerBehavior
[src][+]
impl Eq for SamplerBehavior
[src]
impl Hash for SamplerBehavior
[src][+]
impl PartialEq<SamplerBehavior> for SamplerBehavior
[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,
impl<T> Content for T where
T: Copy,
[src][+]
T: Copy,
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,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,