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 From<IncompatibleVertexDefinitionError> for GraphicsPipelineCreationError
[src]
fn from(err: IncompatibleVertexDefinitionError) -> GraphicsPipelineCreationError
[src]
Performs the conversion.
impl Clone for IncompatibleVertexDefinitionError
[src]
fn clone(&self) -> IncompatibleVertexDefinitionError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for IncompatibleVertexDefinitionError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for IncompatibleVertexDefinitionError
[src]
fn eq(&self, __arg_0: &IncompatibleVertexDefinitionError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IncompatibleVertexDefinitionError) -> bool
[src]
This method tests for !=
.
impl Eq for IncompatibleVertexDefinitionError
[src]
impl Error for IncompatibleVertexDefinitionError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more