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

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

Variants

Operation forbidden in a secondary command buffer.

Operation forbidden inside of a render pass.

Operation forbidden outside of a render pass.

The queue family doesn't allow this operation.

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

Fields of NumSubpassesMismatch

Actual number of subpasses in the current render pass.

Current subpass index before the failing command.

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.

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

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

Trait Implementations

impl Debug for AutoCommandBufferBuilderContextError
[src]

Formats the value using the given formatter.

impl Copy for AutoCommandBufferBuilderContextError
[src]

impl Clone for AutoCommandBufferBuilderContextError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Error for AutoCommandBufferBuilderContextError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for AutoCommandBufferBuilderContextError
[src]

Formats the value using the given formatter. Read more