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 From<AutoCommandBufferBuilderContextError> for BuildError
[src]

Performs the conversion.

impl From<AutoCommandBufferBuilderContextError> for BeginRenderPassError
[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]

Performs the conversion.

impl From<AutoCommandBufferBuilderContextError> for DrawError
[src]

Performs the conversion.

impl From<AutoCommandBufferBuilderContextError> for DrawIndexedError
[src]

impl From<AutoCommandBufferBuilderContextError> for DrawIndirectError
[src]

impl From<AutoCommandBufferBuilderContextError> for ExecuteCommandsError
[src]

impl From<AutoCommandBufferBuilderContextError> for UpdateBufferError
[src]

impl Debug for AutoCommandBufferBuilderContextError
[src]

Formats the value using the given formatter. Read more

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]

This method is soft-deprecated. 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

Auto Trait Implementations