[][src]Trait web_glitz::image::sampler::CompatibleSampler

pub unsafe trait CompatibleSampler<F> where
    F: TextureFormat
{ type Min: MinificationFilter; type Mag: MagnificationFilter; fn get_ref(&self) -> &Sampler<Self::Min, Self::Mag>; }

Associated Types

Loading content...

Required methods

fn get_ref(&self) -> &Sampler<Self::Min, Self::Mag>

Loading content...

Implementations on Foreign Types

impl<T, F, '_> CompatibleSampler<F> for &'_ T where
    T: CompatibleSampler<F>,
    F: TextureFormat
[src]

type Min = T::Min

type Mag = T::Mag

impl<T, F, '_> CompatibleSampler<F> for &'_ mut T where
    T: CompatibleSampler<F>,
    F: TextureFormat
[src]

type Min = T::Min

type Mag = T::Mag

Loading content...

Implementors

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<F, Min, Mag> CompatibleSampler<F> for Sampler<Min, Mag> where
    Min: CompatibleFilter<F> + MinificationFilter,
    Mag: CompatibleFilter<F> + MagnificationFilter,
    F: TextureFormat
[src]

type Min = Min

type Mag = Mag

Loading content...