Enum vulkano::framebuffer::IncompatibleRenderPassAttachmentError [−][src]
pub enum IncompatibleRenderPassAttachmentError { FormatMismatch { expected: Format, obtained: Format, }, SamplesMismatch { expected: u32, obtained: u32, }, NotIdentitySwizzled, MissingColorAttachmentUsage, MissingDepthStencilAttachmentUsage, MissingInputAttachmentUsage, }
Error that can happen when an image is not compatible with a render pass attachment slot.
Variants
FormatMismatch
The image format expected by the render pass doesn't match the actual format of the image.
Fields of FormatMismatch
expected: Format | Format expected by the render pass. |
obtained: Format | Format of the image. |
SamplesMismatch
The number of samples expected by the render pass doesn't match the number of samples of the image.
Fields of SamplesMismatch
expected: u32 | Number of samples expected by the render pass. |
obtained: u32 | Number of samples of the image. |
NotIdentitySwizzled
The image view has a component swizzle that is different from identity.
MissingColorAttachmentUsage
The image is used as a color attachment but is missing the color attachment usage.
MissingDepthStencilAttachmentUsage
The image is used as a depth/stencil attachment but is missing the depth-stencil attachment usage.
MissingInputAttachmentUsage
The image is used as an input attachment but is missing the input attachment usage.
Trait Implementations
impl Copy for IncompatibleRenderPassAttachmentError
[src]
impl Copy for IncompatibleRenderPassAttachmentError
impl Clone for IncompatibleRenderPassAttachmentError
[src]
impl Clone for IncompatibleRenderPassAttachmentError
fn clone(&self) -> IncompatibleRenderPassAttachmentError
[src]
fn clone(&self) -> IncompatibleRenderPassAttachmentError
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)
Performs copy-assignment from source
. Read more
impl Debug for IncompatibleRenderPassAttachmentError
[src]
impl Debug for IncompatibleRenderPassAttachmentError
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 Error for IncompatibleRenderPassAttachmentError
[src]
impl Error for IncompatibleRenderPassAttachmentError
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>
The lower-level cause of this error, if any. Read more
impl Display for IncompatibleRenderPassAttachmentError
[src]
impl Display for IncompatibleRenderPassAttachmentError