[][src]Enum vulkano::image::sys::ImageCreationError

pub enum ImageCreationError {
    AllocError(DeviceMemoryAllocError),
    InvalidMipmapsCount {
        obtained: u32,
        valid_range: Range<u32>,
    },
    UnsupportedSamplesCount {
        obtained: u32,
    },
    UnsupportedDimensions {
        dimensions: ImageDimensions,
    },
    FormatNotSupported,
    UnsupportedUsage,
    ShaderStorageImageMultisampleFeatureNotEnabled,
}

Error that can happen when creating an instance.

Variants

AllocError(DeviceMemoryAllocError)

Allocating memory failed.

InvalidMipmapsCount

A wrong number of mipmaps was provided.

Fields of InvalidMipmapsCount

obtained: u32valid_range: Range<u32>
UnsupportedSamplesCount

The requested number of samples is not supported, or is 0.

Fields of UnsupportedSamplesCount

obtained: u32
UnsupportedDimensions

The dimensions are too large, or one of the dimensions is 0.

Fields of UnsupportedDimensions

dimensions: ImageDimensions
FormatNotSupported

The requested format is not supported by the Vulkan implementation.

UnsupportedUsage

The format is supported, but at least one of the requested usages is not supported.

ShaderStorageImageMultisampleFeatureNotEnabled

The shader_storage_image_multisample feature must be enabled to create such an image.

Trait Implementations

impl Clone for ImageCreationError[src]

impl Debug for ImageCreationError[src]

impl Display for ImageCreationError[src]

impl Eq for ImageCreationError[src]

impl Error for ImageCreationError[src]

impl From<DeviceMemoryAllocError> for ImageCreationError[src]

impl From<OomError> for ImageCreationError[src]

impl PartialEq<ImageCreationError> for ImageCreationError[src]

impl StructuralEq for ImageCreationError[src]

impl StructuralPartialEq for ImageCreationError[src]

Auto Trait Implementations

impl RefUnwindSafe for ImageCreationError

impl Send for ImageCreationError

impl Sync for ImageCreationError

impl Unpin for ImageCreationError

impl UnwindSafe for ImageCreationError

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.