Enum vulkano::command_buffer::validity::CheckBlitImageError [−][src]
pub enum CheckBlitImageError {
MissingTransferSourceUsage,
MissingTransferDestinationUsage,
SourceFormatNotSupported,
DestinationFormatNotSupported,
DepthStencilNearestMandatory,
DepthStencilFormatMismatch,
IncompatibleFormatTypes {
source_type: NumericType,
destination_type: NumericType,
},
UnexpectedMultisampled,
SourceCoordinatesOutOfRange,
DestinationCoordinatesOutOfRange,
IncompatibleRangeForImageType,
}
Expand description
Error that can happen from check_clear_color_image
.
Variants
MissingTransferSourceUsage
The source is missing the transfer source usage.
MissingTransferDestinationUsage
The destination is missing the transfer destination usage.
SourceFormatNotSupported
The format of the source image doesn’t support blit operations.
DestinationFormatNotSupported
The format of the destination image doesn’t support blit operations.
DepthStencilNearestMandatory
You must use the nearest filter when blitting depth/stencil images.
DepthStencilFormatMismatch
The format of the source and destination must be equal when blitting depth/stencil images.
IncompatibleFormatTypes
The types of the source format and the destination format aren’t compatible.
UnexpectedMultisampled
Blitting between multisampled images is forbidden.
SourceCoordinatesOutOfRange
The offsets, array layers and/or mipmap levels are out of range in the source image.
DestinationCoordinatesOutOfRange
The offsets, array layers and/or mipmap levels are out of range in the destination image.
IncompatibleRangeForImageType
The top-left and/or bottom-right coordinates are incompatible with the image type.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CheckBlitImageError
impl Send for CheckBlitImageError
impl Sync for CheckBlitImageError
impl Unpin for CheckBlitImageError
impl UnwindSafe for CheckBlitImageError
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.