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

The index of the uniform.

This is internal information, you probably don't need to use it.

ty

Type of the attribute.

size

Number of elements of the attribute.

Trait Implementations

Derived Implementations

impl Clone for Attribute

fn clone(&self) -> Attribute

fn clone_from(&mut self, source: &Self)

impl Copy for Attribute

impl Debug for Attribute

fn fmt(&self, __arg_0: &mut Formatter) -> Result