Enum vulkano::pipeline::graphics::vertex_input::IncompatibleVertexDefinitionError [−][src]
pub enum IncompatibleVertexDefinitionError {
MissingAttribute {
attribute: String,
},
FormatMismatch {
attribute: String,
shader: (Format, usize),
definition: (VertexMemberTy, usize),
},
}
Expand description
Error that can happen when the vertex definition doesn’t match the input of the vertex shader.
Variants
MissingAttribute
Fields
attribute: String
Name of the missing attribute.
An attribute of the vertex shader is missing in the vertex source.
FormatMismatch
Fields
attribute: String
Name of the attribute.
definition: (VertexMemberTy, usize)
The format in the vertex definition.
The format of an attribute does not match.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for IncompatibleVertexDefinitionError
impl Sync for IncompatibleVertexDefinitionError
impl Unpin for IncompatibleVertexDefinitionError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.