[−][src]Enum vulkano::image::sys::ImageCreationError
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
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 PartialEq<ImageCreationError> for ImageCreationError
[src]
fn eq(&self, other: &ImageCreationError) -> bool
[src]
fn ne(&self, other: &ImageCreationError) -> bool
[src]
impl Eq for ImageCreationError
[src]
impl From<OomError> for ImageCreationError
[src]
fn from(err: OomError) -> ImageCreationError
[src]
impl From<DeviceMemoryAllocError> for ImageCreationError
[src]
fn from(err: DeviceMemoryAllocError) -> ImageCreationError
[src]
impl Clone for ImageCreationError
[src]
fn clone(&self) -> ImageCreationError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ImageCreationError
[src]
impl Display for ImageCreationError
[src]
impl Error for ImageCreationError
[src]
Auto Trait Implementations
impl Send for ImageCreationError
impl Unpin for ImageCreationError
impl Sync for ImageCreationError
impl UnwindSafe for ImageCreationError
impl RefUnwindSafe for ImageCreationError
Blanket Implementations
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,