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