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
OomError(OomError)Out of memory.
DimensionsTooLargeThe requested dimensions exceed the device's limits.
AttachmentDimensionsIncompatibleThe attachment has a size that isn't compatible with the requested framebuffer dimensions.
Fields of AttachmentDimensionsIncompatible
expected: [u32; 3] | Expected dimensions. |
obtained: [u32; 3] | Attachment dimensions. |
AttachmentsCountMismatchThe number of attachments doesn't match the number expected by the render pass.
Fields of AttachmentsCountMismatch
expected: usize | Expected number of attachments. |
obtained: usize | Number of attachments that were given. |
IncompatibleAttachment(IncompatibleRenderPassAttachmentError)One of the images cannot be used as the requested attachment.
CantDetermineDimensionsThe framebuffer has no attachment and no dimension was specified.
Trait Implementations
impl Copy for FramebufferCreationError[src]
impl Clone for FramebufferCreationError[src]
fn clone(&self) -> FramebufferCreationError[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for FramebufferCreationError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl From<OomError> for FramebufferCreationError[src]
fn from(err: OomError) -> FramebufferCreationError[src]
Performs the conversion.
impl Error for FramebufferCreationError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>[src]
The lower-level cause of this error, if any. Read more