[][src]Enum wgpu_core::command::RenderPassError

pub enum RenderPassError {
    Encoder(CommandEncoderError),
    InvalidAttachment(TextureViewId),
    InvalidSampleCount(u8),
    InvalidResolveSourceSampleCount,
    InvalidResolveTargetSampleCount,
    OutOfMemory,
    ExtentStateMismatch {
        state_extent: Extent,
        view_extent: Extent,
    },
    SwapChainImageAsDepthStencil,
    InvalidDepthOps,
    InvalidStencilOps,
    SampleCountMismatch {
        actual: u8,
        expected: u8,
    },
    SwapChainMismatch,
    InvalidValuesOffset,
    MissingDeviceFeatures(Features),
    IndirectBufferOverrun {
        offset: u64,
        count: Option<NonZeroU32>,
        begin_offset: u64,
        end_offset: u64,
        buffer_size: u64,
    },
    IndirectCountBufferOverrun {
        begin_count_offset: u64,
        end_count_offset: u64,
        count_buffer_size: u64,
    },
    InvalidPopDebugGroup,
    IncompatibleRenderBundle,
    RenderCommand(RenderCommandError),
    Draw(DrawError),
    Bind(BindError),
}

Error encountered when performing a render pass.

Variants

InvalidAttachment(TextureViewId)
InvalidSampleCount(u8)
InvalidResolveSourceSampleCount
InvalidResolveTargetSampleCount
OutOfMemory
ExtentStateMismatch

Fields of ExtentStateMismatch

state_extent: Extentview_extent: Extent
SwapChainImageAsDepthStencil
InvalidDepthOps
InvalidStencilOps
SampleCountMismatch

Fields of SampleCountMismatch

actual: u8expected: u8
SwapChainMismatch
InvalidValuesOffset
MissingDeviceFeatures(Features)
IndirectBufferOverrun

Fields of IndirectBufferOverrun

offset: u64count: Option<NonZeroU32>begin_offset: u64end_offset: u64buffer_size: u64
IndirectCountBufferOverrun

Fields of IndirectCountBufferOverrun

begin_count_offset: u64end_count_offset: u64count_buffer_size: u64
InvalidPopDebugGroup
IncompatibleRenderBundle
RenderCommand(RenderCommandError)
Draw(DrawError)
Bind(BindError)

Trait Implementations

impl Clone for RenderPassError[src]

impl Debug for RenderPassError[src]

impl Display for RenderPassError[src]

impl Error for RenderPassError[src]

impl From<BindError> for RenderPassError[src]

impl From<CommandEncoderError> for RenderPassError[src]

impl From<DrawError> for RenderPassError[src]

impl From<RenderCommandError> for RenderPassError[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> From<T> 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.