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

Expected one type of resource but got another.

Fields of WrongDescriptorTy

The expected descriptor type.

Expected nothing.

Tried to add too many elements to an array.

Didn't fill all the elements of an array before leaving.

Fields of MissingArrayElements

Number of expected elements.

Number of elements that were added.

The image view isn't compatible with the sampler.

The buffer or image is missing the correct usage.

Expected a multisampled image, but got a single-sampled image.

Expected a single-sampled image, but got a multisampled image.

The number of array layers of an image doesn't match what was expected.

Fields of ArrayLayersMismatch

Number of expected array layers for the image.

Number of array layers of the image that was added.

The format of an image view doesn't match what was expected.

Fields of ImageViewFormatMismatch

Expected format.

Format of the image view that was passed.

The type of an image view doesn't match what was expected.

Fields of ImageViewTypeMismatch

Expected type.

Type of the image view that was passed.

Trait Implementations

impl Debug for PersistentDescriptorSetError
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for PersistentDescriptorSetError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Error for PersistentDescriptorSetError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for PersistentDescriptorSetError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations