Struct nannou::ui::backend::glium::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

The location of the uniform.

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

Type of the uniform.

If it is an array, the number of elements.

Trait Implementations

impl Clone for Uniform
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Uniform
[src]

Formats the value using the given formatter. Read more

impl Copy for Uniform
[src]

Auto Trait Implementations

impl Send for Uniform

impl Sync for Uniform