Enum vulkano::pipeline::vertex::IncompatibleVertexDefinitionError [] [src]

pub enum IncompatibleVertexDefinitionError {
    MissingAttribute {
        attribute: String,
    },
    FormatMismatch {
        attribute: String,
        shader: (Format, usize),
        definition: (VertexMemberTy, usize),
    },
}

Error that can happen when the vertex definition doesn't match the input of the vertex shader.

Variants

An attribute of the vertex shader is missing in the vertex source.

Fields of MissingAttribute

Name of the missing attribute.

The format of an attribute does not match.

Fields of FormatMismatch

Name of the attribute.

The format in the vertex shader.

The format in the vertex definition.

Trait Implementations

impl Clone for IncompatibleVertexDefinitionError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IncompatibleVertexDefinitionError
[src]

Formats the value using the given formatter.

impl PartialEq for IncompatibleVertexDefinitionError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for IncompatibleVertexDefinitionError
[src]

impl Error for IncompatibleVertexDefinitionError
[src]

A short description of the error. Read more

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

impl Display for IncompatibleVertexDefinitionError
[src]

Formats the value using the given formatter. Read more