Enum vulkano::command_buffer::validity::CheckCopyBufferImageError [] [src]

pub enum CheckCopyBufferImageError {
    SourceMissingTransferUsage,
    DestinationMissingTransferUsage,
    OverlappingRanges,
    UnexpectedMultisampled,
    ImageCoordinatesOutOfRange,
    WrongPixelType(IncompatiblePixelsType),
    BufferTooSmall {
        required_len: usize,
        actual_len: usize,
    },
}

Error that can happen from check_copy_buffer_image.

Variants

The source buffer or image is missing the transfer source usage.

The destination buffer or image is missing the transfer destination usage.

The source and destination are overlapping.

The image must not be multisampled.

The image coordinates are out of range.

The type of pixels in the buffer isn't compatible with the image format.

The buffer is too small for the copy operation.

Fields of BufferTooSmall

Required number of elements in the buffer.

Actual number of elements in the buffer.

Trait Implementations

impl Debug for CheckCopyBufferImageError
[src]

[src]

Formats the value using the given formatter.

impl Copy for CheckCopyBufferImageError
[src]

impl Clone for CheckCopyBufferImageError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Error for CheckCopyBufferImageError
[src]

[src]

A short description of the error. Read more

[src]

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

impl Display for CheckCopyBufferImageError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<IncompatiblePixelsType> for CheckCopyBufferImageError
[src]

[src]

Performs the conversion.