Enum vulkano::command_buffer::validity::CheckCopyBufferImageError [−][src]
pub enum CheckCopyBufferImageError {
SourceMissingTransferUsage,
DestinationMissingTransferUsage,
OverlappingRanges,
UnexpectedMultisampled,
ImageCoordinatesOutOfRange,
WrongPixelType(IncompatiblePixelsType),
BufferTooSmall {
required_len: DeviceSize,
actual_len: DeviceSize,
},
}
Expand description
Error that can happen from check_copy_buffer_image
.
Variants
SourceMissingTransferUsage
The source buffer or image is missing the transfer source usage.
DestinationMissingTransferUsage
The destination buffer or image is missing the transfer destination usage.
OverlappingRanges
The source and destination are overlapping.
UnexpectedMultisampled
The image must not be multisampled.
ImageCoordinatesOutOfRange
The image coordinates are out of range.
WrongPixelType(IncompatiblePixelsType)
Tuple Fields
The type of pixels in the buffer isn’t compatible with the image format.
BufferTooSmall
Fields
required_len: DeviceSize
Required number of elements in the buffer.
actual_len: DeviceSize
Actual number of elements in the buffer.
The buffer is too small for the copy operation.
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.