[][src]Struct web_glitz::extensions::texture_float_linear::Extended

pub struct Extended<'a, Min, Mag> { /* fields omitted */ }

Wrapper type for samplers that acts as a type proof for the availability of this extension, allowing the combination of samplers that use linear filtering with textures that use a floating point internal format.

Methods from Deref<Target = Sampler<Min, Mag>>

pub fn minification_filter(&self) -> Min[src]

The MinificationFilter used by this Sampler.

See MinificationFilter for details.

pub fn magnification_filter(&self) -> Mag[src]

The MagnificationFilter used by this Sampler.

See MagnificationFilter for details.

pub fn lod_range(&self) -> LODRange[src]

The LODRange used by this Sampler.

See LODRange for details.

pub fn wrap_s(&self) -> Wrap[src]

The wrapping method that this Sampler uses when sampling a value at coordinates outside the range 0.0..=1.0 in the S ("width") direction in texture space.

See Wrap for details.

pub fn wrap_t(&self) -> Wrap[src]

The wrapping method that this Sampler uses when sampling a value at coordinates outside the range 0.0..=1.0 in the T ("height") direction in texture space.

See Wrap for details.

pub fn wrap_r(&self) -> Wrap[src]

The wrapping method that this Sampler uses when sampling a value at coordinates outside the range 0.0..=1.0 in the R ("depth") direction in texture space.

See Wrap for details.

Trait Implementations

impl<'a, Min: Clone, Mag: Clone> Clone for Extended<'a, Min, Mag>[src]

impl<'a, F, Min, Mag> CompatibleSampler<F> for Extended<'a, Min, Mag> where
    F: TextureFormat + Filterable,
    Min: CompatibleFilter<F> + MinificationFilter,
    Mag: CompatibleFilter<F> + MagnificationFilter
[src]

type Min = Min

type Mag = Mag

impl<'a, Min: Copy, Mag: Copy> Copy for Extended<'a, Min, Mag>[src]

impl<Min, Mag, '_> Deref for Extended<'_, Min, Mag>[src]

type Target = Sampler<Min, Mag>

The resulting type after dereferencing.

Auto Trait Implementations

impl<'a, Min, Mag> !RefUnwindSafe for Extended<'a, Min, Mag>

impl<'a, Min, Mag> !Send for Extended<'a, Min, Mag>

impl<'a, Min, Mag> !Sync for Extended<'a, Min, Mag>

impl<'a, Min, Mag> Unpin for Extended<'a, Min, Mag>

impl<'a, Min, Mag> !UnwindSafe for Extended<'a, Min, Mag>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<D, T> IntoBuffer<T> for D where
    D: Borrow<T> + 'static,
    T: Copy + 'static, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.