pub enum RenderPassCompatibilityError {
IncompatibleColorAttachment(ArrayVec<Option<TextureFormat>, { hal::MAX_COLOR_ATTACHMENTS }>, ArrayVec<Option<TextureFormat>, { hal::MAX_COLOR_ATTACHMENTS }>),
IncompatibleDepthStencilAttachment(Option<TextureFormat>, Option<TextureFormat>),
IncompatibleSampleCount(u32, u32),
IncompatibleMultiview(Option<NonZeroU32>, Option<NonZeroU32>),
}
Variants§
IncompatibleColorAttachment(ArrayVec<Option<TextureFormat>, { hal::MAX_COLOR_ATTACHMENTS }>, ArrayVec<Option<TextureFormat>, { hal::MAX_COLOR_ATTACHMENTS }>)
IncompatibleDepthStencilAttachment(Option<TextureFormat>, Option<TextureFormat>)
IncompatibleSampleCount(u32, u32)
IncompatibleMultiview(Option<NonZeroU32>, Option<NonZeroU32>)
Trait Implementations§
source§impl Clone for RenderPassCompatibilityError
impl Clone for RenderPassCompatibilityError
source§fn clone(&self) -> RenderPassCompatibilityError
fn clone(&self) -> RenderPassCompatibilityError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RenderPassCompatibilityError
impl Debug for RenderPassCompatibilityError
source§impl Error for RenderPassCompatibilityError
impl Error for RenderPassCompatibilityError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<RenderPassCompatibilityError> for RenderCommandError
impl From<RenderPassCompatibilityError> for RenderCommandError
source§fn from(source: RenderPassCompatibilityError) -> Self
fn from(source: RenderPassCompatibilityError) -> Self
Converts to this type from the input type.
source§impl From<RenderPassCompatibilityError> for RenderPassErrorInner
impl From<RenderPassCompatibilityError> for RenderPassErrorInner
source§fn from(source: RenderPassCompatibilityError) -> Self
fn from(source: RenderPassCompatibilityError) -> Self
Converts to this type from the input type.