Struct glium::program::Attribute
[−]
[src]
pub struct Attribute { pub location: i32, pub ty: AttributeType, pub size: usize, }
Information about an attribute of a program (except its name).
Internal struct. Not public.
Fields
location: i32
The index of the uniform.
This is internal information, you probably don't need to use it.
ty: AttributeType
Type of the attribute.
size: usize
Number of elements of the attribute.
Trait Implementations
impl Debug for Attribute
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src][−]
Formats the value using the given formatter.