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

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 Debug for Uniform
[src]

[src]

Formats the value using the given formatter.

impl Copy for Uniform
[src]

impl Clone for Uniform
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more