[−][src]Enum vulkano::sampler::SamplerCreationError
Error that can happen when creating an instance.
Variants
OomError(OomError)
Not enough memory.
Too many sampler objects have been created. You must destroy some before creating new ones. Note the specs guarantee that at least 4000 samplers can exist simultaneously.
Using an anisotropy greater than 1.0 requires enabling the sampler_anisotropy
feature
when creating the device.
The requested anisotropy level exceeds the device's limits.
Fields of AnisotropyLimitExceeded
The requested mip lod bias exceeds the device's limits.
Fields of MipLodBiasLimitExceeded
Using MirrorClampToEdge
requires enabling the VK_KHR_sampler_mirror_clamp_to_edge
extension when creating the device.
Trait Implementations
impl Clone for SamplerCreationError
[src]
fn clone(&self) -> SamplerCreationError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<SamplerCreationError> for SamplerCreationError
[src]
fn eq(&self, other: &SamplerCreationError) -> bool
[src]
fn ne(&self, other: &SamplerCreationError) -> bool
[src]
impl From<OomError> for SamplerCreationError
[src]
fn from(err: OomError) -> SamplerCreationError
[src]
impl Debug for SamplerCreationError
[src]
impl Display for SamplerCreationError
[src]
impl Error for SamplerCreationError
[src]
Auto Trait Implementations
impl Send for SamplerCreationError
impl Unpin for SamplerCreationError
impl Sync for SamplerCreationError
impl UnwindSafe for SamplerCreationError
impl RefUnwindSafe for SamplerCreationError
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> 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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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,