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
MissingAttribute
An attribute of the vertex shader is missing in the vertex source.
Fields of MissingAttribute
attribute: String | Name of the missing attribute. |
FormatMismatch
The format of an attribute does not match.
Fields of FormatMismatch
attribute: String | Name of the attribute. |
shader: (Format, usize) | The format in the vertex shader. |
definition: (VertexMemberTy, usize) | The format in the vertex definition. |
Trait Implementations
impl Clone for IncompatibleVertexDefinitionError
[src]
fn clone(&self) -> IncompatibleVertexDefinitionError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for IncompatibleVertexDefinitionError
[src]
impl PartialEq for IncompatibleVertexDefinitionError
[src]
fn eq(&self, __arg_0: &IncompatibleVertexDefinitionError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IncompatibleVertexDefinitionError) -> bool
This method tests for !=
.
impl Eq for IncompatibleVertexDefinitionError
[src]
impl Error for IncompatibleVertexDefinitionError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more