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(String)
Shader requested a uniform that the parameters do not have.
BadUniform(String)
Shader requested a uniform that the parameters do not match.
MissingBlock(String)
Shader requested a block that the parameters do not have.
BadBlock(String)
Shader requested a block that the parameters do not match.
MissingTexture(String)
Shader requested a texture that the parameters do not have.
BadTexture(String)
Shader requested a texture that the parameters do not match.
Trait Implementations
impl Debug for ParameterError
[src]
impl PartialEq for ParameterError
[src]
fn eq(&self, __arg_0: &ParameterError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParameterError) -> bool
This method tests for !=
.
impl Clone for ParameterError
[src]
fn clone(&self) -> ParameterError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more