Enum luminance::shader::program::UniformWarning [] [src]

pub enum UniformWarning {
    Inactive(String),
    TypeMismatch(StringString),
}

Warnings related to uniform issues.

Variants

Inactive uniform (not in use / no participation to the final output in shaders).

Type mismatch between the static requested type (i.e. the T in Uniform<T> for instance) and the type that got reflected from the backend in the shaders.

The first String is the name of the uniform; the second one gives the type mismatch.

Trait Implementations

impl Clone for UniformWarning
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for UniformWarning
[src]

Formats the value using the given formatter.