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

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

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

Underlying type of the sampler.

Implementors