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 From<IncompatibleVertexDefinitionError> for GraphicsPipelineCreationError
[src]

impl Clone for IncompatibleVertexDefinitionError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for IncompatibleVertexDefinitionError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for IncompatibleVertexDefinitionError
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for IncompatibleVertexDefinitionError
[src]

impl Error for IncompatibleVertexDefinitionError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl Display for IncompatibleVertexDefinitionError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations