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.