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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UniformWarning
[src]

[src]

Formats the value using the given formatter.

impl Display for UniformWarning
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for UniformWarning
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more