[][src]Trait luminance::pixel::SamplerType

pub unsafe trait SamplerType {
    fn sample_type() -> Type;
}

Reify a static sample type at runtime.

That trait is used to allow sampling with different types than the actual encoding of the texture as long as the Type remains the same.

Required methods

fn sample_type() -> Type

Underlying type of the sampler.

Loading content...

Implementors

impl SamplerType for Floating[src]

impl SamplerType for Integral[src]

impl SamplerType for NormIntegral[src]

impl SamplerType for NormUnsigned[src]

impl SamplerType for Unsigned[src]

Loading content...