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

The location of the uniform.

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

ty

Type of the uniform.

size

If it is an array, the number of elements.

Trait Implementations

Derived Implementations

impl Clone for Uniform

fn clone(&self) -> Uniform

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

impl Copy for Uniform

impl Debug for Uniform

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