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 Clone for Attribute[src]
fn clone(&self) -> Attribute
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