Struct glium::program::Uniform
[−]
[src]
pub struct Uniform {
pub location: i32,
pub ty: UniformType,
pub size: Option<usize>,
}Information about a uniform (except its name).
Fields
location: i32
The location of the uniform.
This is internal information, you probably don't need to use it.
ty: UniformType
Type of the uniform.
size: Option<usize>
If it is an array, the number of elements.
Trait Implementations
impl Clone for Uniform[src]
fn clone(&self) -> Uniform
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more