[−][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]
pub fn clone(&self) -> SamplerCreationError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SamplerCreationError
[src]
impl Display for SamplerCreationError
[src]
impl Error for SamplerCreationError
[src]
pub fn cause(&self) -> Option<&dyn Error>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
impl From<OomError> for SamplerCreationError
[src]
pub fn from(err: OomError) -> SamplerCreationError
[src]
impl PartialEq<SamplerCreationError> for SamplerCreationError
[src]
pub fn eq(&self, other: &SamplerCreationError) -> bool
[src]
pub fn ne(&self, other: &SamplerCreationError) -> bool
[src]
impl StructuralPartialEq for SamplerCreationError
[src]
Auto Trait Implementations
impl RefUnwindSafe for SamplerCreationError
[src]
impl Send for SamplerCreationError
[src]
impl Sync for SamplerCreationError
[src]
impl Unpin for SamplerCreationError
[src]
impl UnwindSafe for SamplerCreationError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn is_size_suitable(usize) -> bool
[src]
pub fn indiv_size() -> usize
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut 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.
pub 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>,