Enum gfx::device::shade::CompatibilityError [] [src]

pub enum CompatibilityError {
    ErrorArraySize,
    ErrorBaseType,
    ErrorContainer,
}

Error type for trying to store a UniformValue in a UniformVar.

Variants

ErrorArraySize

Array sizes differ between the value and the var (trying to upload a vec2 as a vec4, etc)

ErrorBaseType

Base types differ between the value and the var (trying to upload a f32 as a u16, etc)

ErrorContainer

Container-ness differs between the value and the var (trying to upload a scalar as a vec4, etc)

Trait Implementations

Derived Implementations

impl Debug for CompatibilityError

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

impl Copy for CompatibilityError

impl Clone for CompatibilityError

fn clone(&self) -> CompatibilityError

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