Enum gfx::render::shade::ParameterError [] [src]

pub enum ParameterError {
    MissingSelf,
    MissingUniform(String),
    BadUniform(String),
    MissingBlock(String),
    BadBlock(String),
    MissingTexture(String),
    BadTexture(String),
}

An error type on either the parameter storage or the program side

Variants

MissingSelf

The parameter requires 'self' to be assigned, but none was provided.

MissingUniform

Shader requested a uniform that the parameters do not have.

BadUniform

Shader requested a uniform that the parameters do not match.

MissingBlock

Shader requested a block that the parameters do not have.

BadBlock

Shader requested a block that the parameters do not match.

MissingTexture

Shader requested a texture that the parameters do not have.

BadTexture

Shader requested a texture that the parameters do not match.

Trait Implementations

Derived Implementations

impl Debug for ParameterError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for ParameterError

fn eq(&self, __arg_0: &ParameterError) -> bool

fn ne(&self, __arg_0: &ParameterError) -> bool

impl Clone for ParameterError

fn clone(&self) -> ParameterError

fn clone_from(&mut self, source: &Self)