Enum wgpu_core::command::RenderPassErrorInner[][src]

pub enum RenderPassErrorInner {
    Encoder(CommandEncoderError),
    InvalidAttachment(TextureViewId),
    MissingAttachments,
    AttachmentsDimensionMismatch {
        previous: (&'static str, Extent3d),
        mismatch: (&'static str, Extent3d),
    },
    InvalidSampleCount(u8),
    InvalidResolveSourceSampleCount,
    InvalidResolveTargetSampleCount,
    OutOfMemory,
    SwapChainImageAsDepthStencil,
    InvalidDepthOps,
    InvalidStencilOps,
    SampleCountMismatch {
        actual: u8,
        expected: u8,
    },
    InvalidValuesOffset,
    MissingDeviceFeatures(Features),
    IndirectBufferOverrun {
        count: Option<NonZeroU32>,
        offset: u64,
        end_offset: u64,
        buffer_size: u64,
    },
    IndirectCountBufferOverrun {
        begin_count_offset: u64,
        end_count_offset: u64,
        count_buffer_size: u64,
    },
    InvalidPopDebugGroup,
    ResourceUsageConflict(UsageConflict),
    IncompatibleRenderBundle(RenderPassCompatibilityError),
    RenderCommand(RenderCommandError),
    Draw(DrawError),
    Bind(BindError),
    QueryUse(QueryUseError),
}

Error encountered when performing a render pass.

Variants

InvalidAttachment(TextureViewId)
MissingAttachments
AttachmentsDimensionMismatch

Fields of AttachmentsDimensionMismatch

previous: (&'static str, Extent3d)mismatch: (&'static str, Extent3d)
InvalidSampleCount(u8)
InvalidResolveSourceSampleCount
InvalidResolveTargetSampleCount
OutOfMemory
SwapChainImageAsDepthStencil
InvalidDepthOps
InvalidStencilOps
SampleCountMismatch

Fields of SampleCountMismatch

actual: u8expected: u8
InvalidValuesOffset
MissingDeviceFeatures(Features)
IndirectBufferOverrun

Fields of IndirectBufferOverrun

count: Option<NonZeroU32>offset: u64end_offset: u64buffer_size: u64
IndirectCountBufferOverrun

Fields of IndirectCountBufferOverrun

begin_count_offset: u64end_count_offset: u64count_buffer_size: u64
InvalidPopDebugGroup
ResourceUsageConflict(UsageConflict)
IncompatibleRenderBundle(RenderPassCompatibilityError)
RenderCommand(RenderCommandError)
Draw(DrawError)
Bind(BindError)
QueryUse(QueryUseError)

Trait Implementations

impl Clone for RenderPassErrorInner[src]

impl Debug for RenderPassErrorInner[src]

impl Display for RenderPassErrorInner[src]

impl Error for RenderPassErrorInner[src]

impl From<BindError> for RenderPassErrorInner[src]

impl From<CommandEncoderError> for RenderPassErrorInner[src]

impl From<DrawError> for RenderPassErrorInner[src]

impl From<QueryUseError> for RenderPassErrorInner[src]

impl From<RenderCommandError> for RenderPassErrorInner[src]

impl From<RenderPassCompatibilityError> for RenderPassErrorInner[src]

Auto Trait Implementations

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> Downcast<T> for T

impl<T> From<T> for T[src]

impl<T> Instrument 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.

impl<T> Upcast<T> for T