Struct luminance::shader::program::Uniform [] [src]

pub struct Uniform<T> { /* fields omitted */ }

A shader uniform. Uniform<T> doesn’t hold any value. It’s more like a mapping between the host code and the shader the uniform was retrieved from.

Methods

impl<T> Uniform<T> where
    T: Uniformable
[src]

[src]

Update the value pointed by this uniform.

Trait Implementations

impl<T: Debug> Debug for Uniform<T>
[src]

[src]

Formats the value using the given formatter.