Enum vulkano::framebuffer::FramebufferCreationError [] [src]

pub enum FramebufferCreationError {
    OomError(OomError),
    DimensionsTooLarge,
    AttachmentDimensionsIncompatible {
        expected: [u32; 3],
        obtained: [u32; 3],
    },
    AttachmentsCountMismatch {
        expected: usize,
        obtained: usize,
    },
    IncompatibleAttachment(IncompatibleRenderPassAttachmentError),
    CantDetermineDimensions,
}

Error that can happen when creating a framebuffer object.

Variants

Out of memory.

The requested dimensions exceed the device's limits.

The attachment has a size that isn't compatible with the requested framebuffer dimensions.

Fields of AttachmentDimensionsIncompatible

Expected dimensions.

Attachment dimensions.

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

Fields of AttachmentsCountMismatch

Expected number of attachments.

Number of attachments that were given.

One of the images cannot be used as the requested attachment.

The framebuffer has no attachment and no dimension was specified.

Trait Implementations

impl Copy for FramebufferCreationError
[src]

impl Clone for FramebufferCreationError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for FramebufferCreationError
[src]

Formats the value using the given formatter.

impl From<OomError> for FramebufferCreationError
[src]

Performs the conversion.

impl Error for FramebufferCreationError
[src]

A short description of the error. Read more

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

impl Display for FramebufferCreationError
[src]

Formats the value using the given formatter. Read more

impl From<Error> for FramebufferCreationError
[src]

Performs the conversion.