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
FormatMismatchThe 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. |
SamplesMismatchThe 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. |
NotIdentitySwizzledThe image view has a component swizzle that is different from identity.
MissingColorAttachmentUsageThe image is used as a color attachment but is missing the color attachment usage.
MissingDepthStencilAttachmentUsageThe image is used as a depth/stencil attachment but is missing the depth-stencil attachment usage.
MissingInputAttachmentUsageThe image is used as an input attachment but is missing the input attachment usage.
Trait Implementations
impl Copy for IncompatibleRenderPassAttachmentError[src]
impl Clone for IncompatibleRenderPassAttachmentError[src]
fn clone(&self) -> IncompatibleRenderPassAttachmentError
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 IncompatibleRenderPassAttachmentError[src]
impl Error for IncompatibleRenderPassAttachmentError[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