Enum gfx::render::mesh::Error [] [src]

pub enum Error {
    AttributeMissing(String),
    AttributeType(String, BaseType),
    AttributeIndex(AttributeIndex),
    ShaderInputIndex(usize),
}

Describes kinds of errors that may occur in the mesh linking

Variants

AttributeMissing

A required attribute was missing.

AttributeType

An attribute's type from the vertex format differed from the type used in the shader.

AttributeIndex

An attribute index is out of supported bounds

ShaderInputIndex

An input index is out of supported bounds

Trait Implementations

Derived Implementations

impl PartialEq for Error

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

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

impl Debug for Error

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

impl Clone for Error

fn clone(&self) -> Error

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