Enum vulkano::command_buffer::validity::CheckCopyBufferImageError [−][src]
pub enum CheckCopyBufferImageError { SourceMissingTransferUsage, DestinationMissingTransferUsage, OverlappingRanges, UnexpectedMultisampled, ImageCoordinatesOutOfRange, WrongPixelType(IncompatiblePixelsType), BufferTooSmall { required_len: usize, actual_len: usize, }, }
Expand description
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.
WrongPixelType(IncompatiblePixelsType)
The type of pixels in the buffer isn’t compatible with the image format.
The buffer is too small for the copy operation.
Show fields
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CheckCopyBufferImageError
impl Send for CheckCopyBufferImageError
impl Sync for CheckCopyBufferImageError
impl Unpin for CheckCopyBufferImageError
impl UnwindSafe for CheckCopyBufferImageError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.