Trait willow::UniformType[][src]

pub trait UniformType: Sized + Copy + 'static {
    fn apply_uniform(
        self,
        context: &WebGlRenderingContext,
        location: &WebGlUniformLocation
    ); }
Expand description

Types that can be used as a uniform argument type.

Required methods

Applies the uniform value to the specified location.

Implementations on Foreign Types

Implementors