Enum vulkano::descriptor::descriptor_set::PersistentDescriptorSetError
[−]
[src]
pub enum PersistentDescriptorSetError { WrongDescriptorTy { expected: DescriptorType, }, EmptyExpected, ArrayOutOfBounds, MissingArrayElements { expected: u32, obtained: u32, }, IncompatibleImageViewSampler, MissingUsage, ExpectedMultisampled, UnexpectedMultisampled, ArrayLayersMismatch { expected: u32, obtained: u32, }, ImageViewFormatMismatch { expected: Format, obtained: Format, }, ImageViewTypeMismatch { expected: DescriptorImageDescDimensions, obtained: DescriptorImageDescDimensions, }, }
Error related to the persistent descriptor set.
Variants
WrongDescriptorTy
Expected one type of resource but got another.
Fields of WrongDescriptorTy
expected: DescriptorType | The expected descriptor type. |
EmptyExpected
Expected nothing.
ArrayOutOfBounds
Tried to add too many elements to an array.
MissingArrayElements
Didn't fill all the elements of an array before leaving.
Fields of MissingArrayElements
expected: u32 | Number of expected elements. |
obtained: u32 | Number of elements that were added. |
IncompatibleImageViewSampler
The image view isn't compatible with the sampler.
MissingUsage
The buffer or image is missing the correct usage.
ExpectedMultisampled
Expected a multisampled image, but got a single-sampled image.
UnexpectedMultisampled
Expected a single-sampled image, but got a multisampled image.
ArrayLayersMismatch
The number of array layers of an image doesn't match what was expected.
Fields of ArrayLayersMismatch
expected: u32 | Number of expected array layers for the image. |
obtained: u32 | Number of array layers of the image that was added. |
ImageViewFormatMismatch
The format of an image view doesn't match what was expected.
Fields of ImageViewFormatMismatch
expected: Format | Expected format. |
obtained: Format | Format of the image view that was passed. |
ImageViewTypeMismatch
The type of an image view doesn't match what was expected.
Fields of ImageViewTypeMismatch
expected: DescriptorImageDescDimensions | Expected type. |
obtained: DescriptorImageDescDimensions | Type of the image view that was passed. |
Trait Implementations
impl Debug for PersistentDescriptorSetError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PersistentDescriptorSetError
[src]
fn clone(&self) -> PersistentDescriptorSetError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Error for PersistentDescriptorSetError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more