Trait glium::uniforms::AsUniformValue
source · pub trait AsUniformValue {
// Required method
fn as_uniform_value(&self) -> UniformValue<'_>;
}
Expand description
Value that can be used as the value of a uniform.
This includes buffers and textures for example.
Required Methods§
sourcefn as_uniform_value(&self) -> UniformValue<'_>
fn as_uniform_value(&self) -> UniformValue<'_>
Builds a UniformValue
.