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]

Formats the value using the given formatter. Read more

impl Copy for CheckCopyBufferImageError
[src]

impl Clone for CheckCopyBufferImageError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Error for CheckCopyBufferImageError
[src]

This method is soft-deprecated. Read more

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

impl Display for CheckCopyBufferImageError
[src]

Formats the value using the given formatter. Read more

impl From<IncompatiblePixelsType> for CheckCopyBufferImageError
[src]

Performs the conversion.

impl From<CheckCopyBufferImageError> for CopyBufferImageError
[src]

Performs the conversion.

Auto Trait Implementations