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

The image format expected by the render pass doesn't match the actual format of the image.

Fields of FormatMismatch

Format expected by the render pass.

Format of the image.

The number of samples expected by the render pass doesn't match the number of samples of the image.

Fields of SamplesMismatch

Number of samples expected by the render pass.

Number of samples of the image.

The image view has a component swizzle that is different from identity.

The image is used as a color attachment but is missing the color attachment usage.

The image is used as a depth/stencil attachment but is missing the depth-stencil attachment usage.

The 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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IncompatibleRenderPassAttachmentError
[src]

Formats the value using the given formatter.

impl Error for IncompatibleRenderPassAttachmentError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for IncompatibleRenderPassAttachmentError
[src]

Formats the value using the given formatter. Read more