[][src]Enum vulkano::descriptor::descriptor_set::PersistentDescriptorSetError

pub enum PersistentDescriptorSetError {
    WrongDescriptorTy {
        expected: DescriptorType,
    },
    EmptyExpected,
    ArrayOutOfBounds,
    MissingArrayElements {
        expected: u32,
        obtained: u32,
    },
    IncompatibleImageViewSampler,
    MissingBufferUsage(MissingBufferUsage),
    MissingImageUsage(MissingImageUsage),
    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.

MissingBufferUsage(MissingBufferUsage)

The buffer is missing the correct usage.

MissingImageUsage(MissingImageUsage)

The 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 Clone for PersistentDescriptorSetError[src]

impl Debug for PersistentDescriptorSetError[src]

impl Display for PersistentDescriptorSetError[src]

impl Error for PersistentDescriptorSetError[src]

Auto Trait Implementations

impl RefUnwindSafe for PersistentDescriptorSetError

impl Send for PersistentDescriptorSetError

impl Sync for PersistentDescriptorSetError

impl Unpin for PersistentDescriptorSetError

impl UnwindSafe for PersistentDescriptorSetError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.