[][src]Enum vulkano::framebuffer::IncompatibleRenderPassAttachmentError

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 Clone for IncompatibleRenderPassAttachmentError[src]

impl Copy for IncompatibleRenderPassAttachmentError[src]

impl Debug for IncompatibleRenderPassAttachmentError[src]

impl Display for IncompatibleRenderPassAttachmentError[src]

impl Error for IncompatibleRenderPassAttachmentError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.