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
fn apply_uniform(
self,
context: &WebGlRenderingContext,
location: &WebGlUniformLocation
)
[src]
fn apply_uniform(
self,
context: &WebGlRenderingContext,
location: &WebGlUniformLocation
)
[src]Applies the uniform value to the specified location.