Enum vulkano::descriptor::descriptor_set::PersistentDescriptorSetError [−][src]
pub enum PersistentDescriptorSetError {}Show variants
ArrayLayersMismatch { expected: u32, obtained: u32, }, ArrayOutOfBounds, EmptyExpected, ExpectedMultisampled, ImageViewFormatMismatch { expected: Format, obtained: Format, }, ImageViewTypeMismatch { expected: DescriptorImageDescDimensions, obtained: DescriptorImageDescDimensions, }, IncompatibleImageViewSampler, MissingArrayElements { expected: u32, obtained: u32, }, MissingBufferUsage(MissingBufferUsage), MissingImageUsage(MissingImageUsage), NotIdentitySwizzled, UnexpectedMultisampled, WrongDescriptorTy { expected: DescriptorType, },
Expand description
Error related to the persistent descriptor set.
Variants
The number of array layers of an image doesn’t match what was expected.
Show fields
Tried to add too many elements to an array.
Expected nothing.
Expected a multisampled image, but got a single-sampled image.
The format of an image view doesn’t match what was expected.
Show fields
The type of an image view doesn’t match what was expected.
Show fields
Fields of ImageViewTypeMismatch
expected: DescriptorImageDescDimensions
Expected type.
obtained: DescriptorImageDescDimensions
Type of the image view that was passed.
The image view isn’t compatible with the sampler.
Didn’t fill all the elements of an array before leaving.
Show fields
The buffer is missing the correct usage.
The image is missing the correct usage.
The image view has a component swizzle that is different from identity.
Expected a single-sampled image, but got a multisampled image.
Expected one type of resource but got another.
Show fields
Fields of WrongDescriptorTy
expected: DescriptorType
The expected descriptor type.
Trait Implementations
Auto Trait Implementations
impl Send for PersistentDescriptorSetError
impl Sync for PersistentDescriptorSetError
impl Unpin for PersistentDescriptorSetError
impl UnwindSafe for PersistentDescriptorSetError
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.