[][src]Enum vulkano::command_buffer::AutoCommandBufferBuilderContextError

pub enum AutoCommandBufferBuilderContextError {
    ForbiddenInSecondary,
    ForbiddenInsideRenderPass,
    ForbiddenOutsideRenderPass,
    NotSupportedByQueueFamily,
    NumSubpassesMismatch {
        actual: u32,
        current: u32,
    },
    WrongSubpassType,
    WrongSubpassIndex,
    IncompatibleRenderPass,
}

Variants

ForbiddenInSecondary

Operation forbidden in a secondary command buffer.

ForbiddenInsideRenderPass

Operation forbidden inside of a render pass.

ForbiddenOutsideRenderPass

Operation forbidden outside of a render pass.

NotSupportedByQueueFamily

The queue family doesn't allow this operation.

NumSubpassesMismatch

Tried to end a render pass with subpasses remaining, or tried to go to next subpass with no subpass remaining.

Fields of NumSubpassesMismatch

actual: u32

Actual number of subpasses in the current render pass.

current: u32

Current subpass index before the failing command.

WrongSubpassType

Tried to execute a secondary command buffer inside a subpass that only allows inline commands, or a draw command in a subpass that only allows secondary command buffers.

WrongSubpassIndex

Tried to use a graphics pipeline whose subpass index didn't match the current subpass index.

IncompatibleRenderPass

Tried to use a graphics pipeline whose render pass is incompatible with the current render pass.

Trait Implementations

impl Clone for AutoCommandBufferBuilderContextError[src]

impl Copy for AutoCommandBufferBuilderContextError[src]

impl Debug for AutoCommandBufferBuilderContextError[src]

impl Display for AutoCommandBufferBuilderContextError[src]

impl Error for AutoCommandBufferBuilderContextError[src]

impl From<AutoCommandBufferBuilderContextError> for BuildError[src]

impl From<AutoCommandBufferBuilderContextError> for BeginRenderPassError[src]

impl From<AutoCommandBufferBuilderContextError> for DrawIndexedError[src]

impl From<AutoCommandBufferBuilderContextError> for DrawIndirectError[src]

impl From<AutoCommandBufferBuilderContextError> for DrawIndexedIndirectError[src]

impl From<AutoCommandBufferBuilderContextError> for ExecuteCommandsError[src]

impl From<AutoCommandBufferBuilderContextError> for UpdateBufferError[src]

impl From<AutoCommandBufferBuilderContextError> for CopyImageError[src]

impl From<AutoCommandBufferBuilderContextError> for BlitImageError[src]

impl From<AutoCommandBufferBuilderContextError> for ClearColorImageError[src]

impl From<AutoCommandBufferBuilderContextError> for CopyBufferError[src]

impl From<AutoCommandBufferBuilderContextError> for CopyBufferImageError[src]

impl From<AutoCommandBufferBuilderContextError> for FillBufferError[src]

impl From<AutoCommandBufferBuilderContextError> for DispatchError[src]

impl From<AutoCommandBufferBuilderContextError> for DrawError[src]

Auto Trait Implementations

impl RefUnwindSafe for AutoCommandBufferBuilderContextError

impl Send for AutoCommandBufferBuilderContextError

impl Sync for AutoCommandBufferBuilderContextError

impl Unpin for AutoCommandBufferBuilderContextError

impl UnwindSafe for AutoCommandBufferBuilderContextError

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> Content for T[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.