Enum vulkano::command_buffer::AutoCommandBufferBuilderContextError
[−]
[src]
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 Debug for AutoCommandBufferBuilderContextError
[src]
impl Copy for AutoCommandBufferBuilderContextError
[src]
impl Clone for AutoCommandBufferBuilderContextError
[src]
fn clone(&self) -> AutoCommandBufferBuilderContextError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Error for AutoCommandBufferBuilderContextError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more