pub enum AutoCommandBufferBuilderContextError {
ForbiddenInsideRenderPass,
ForbiddenOutsideRenderPass,
IncompatibleFramebuffer,
IncompatibleRenderPass,
NotSupportedByQueueFamily,
NumSubpassesMismatch {
actual: u32,
current: u32,
},
QueryIsActive,
QueryNotActive,
QueryNotInherited,
WrongSubpassIndex,
WrongSubpassType,
}
Variants
ForbiddenInsideRenderPass
Operation forbidden inside of a render pass.
ForbiddenOutsideRenderPass
Operation forbidden outside of a render pass.
IncompatibleFramebuffer
Tried to use a secondary command buffer with a specified framebuffer that is incompatible with the current framebuffer.
IncompatibleRenderPass
Tried to use a graphics pipeline or secondary command buffer whose render pass is incompatible with the current render pass.
NotSupportedByQueueFamily
The queue family doesn’t allow this operation.
NumSubpassesMismatch
Fields
actual: u32
Actual number of subpasses in the current render pass.
current: u32
Current subpass index before the failing command.
Tried to end a render pass with subpasses remaining, or tried to go to next subpass with no subpass remaining.
QueryIsActive
A query is active that conflicts with the current operation.
QueryNotActive
This query was not active.
QueryNotInherited
A query is active that is not included in the inheritance
of the secondary command buffer.
WrongSubpassIndex
Tried to use a graphics pipeline or secondary command buffer whose subpass index didn’t match the current subpass index.
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.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl Send for AutoCommandBufferBuilderContextError
impl Sync for AutoCommandBufferBuilderContextError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.