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 From<AutoCommandBufferBuilderContextError> for BuildError
[src]
impl From<AutoCommandBufferBuilderContextError> for BuildError
fn from(err: AutoCommandBufferBuilderContextError) -> BuildError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> BuildError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for BeginRenderPassError
[src]
impl From<AutoCommandBufferBuilderContextError> for BeginRenderPassError
fn from(err: AutoCommandBufferBuilderContextError) -> BeginRenderPassError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> BeginRenderPassError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for BlitImageError
[src]
impl From<AutoCommandBufferBuilderContextError> for BlitImageError
fn from(err: AutoCommandBufferBuilderContextError) -> BlitImageError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> BlitImageError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for ClearColorImageError
[src]
impl From<AutoCommandBufferBuilderContextError> for ClearColorImageError
fn from(err: AutoCommandBufferBuilderContextError) -> ClearColorImageError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> ClearColorImageError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for CopyBufferError
[src]
impl From<AutoCommandBufferBuilderContextError> for CopyBufferError
fn from(err: AutoCommandBufferBuilderContextError) -> CopyBufferError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> CopyBufferError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for CopyBufferImageError
[src]
impl From<AutoCommandBufferBuilderContextError> for CopyBufferImageError
fn from(err: AutoCommandBufferBuilderContextError) -> CopyBufferImageError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> CopyBufferImageError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for FillBufferError
[src]
impl From<AutoCommandBufferBuilderContextError> for FillBufferError
fn from(err: AutoCommandBufferBuilderContextError) -> FillBufferError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> FillBufferError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for DispatchError
[src]
impl From<AutoCommandBufferBuilderContextError> for DispatchError
fn from(err: AutoCommandBufferBuilderContextError) -> DispatchError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> DispatchError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for DrawError
[src]
impl From<AutoCommandBufferBuilderContextError> for DrawError
fn from(err: AutoCommandBufferBuilderContextError) -> DrawError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> DrawError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for DrawIndexedError
[src]
impl From<AutoCommandBufferBuilderContextError> for DrawIndexedError
fn from(err: AutoCommandBufferBuilderContextError) -> DrawIndexedError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> DrawIndexedError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for DrawIndirectError
[src]
impl From<AutoCommandBufferBuilderContextError> for DrawIndirectError
fn from(err: AutoCommandBufferBuilderContextError) -> DrawIndirectError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> DrawIndirectError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for ExecuteCommandsError
[src]
impl From<AutoCommandBufferBuilderContextError> for ExecuteCommandsError
fn from(err: AutoCommandBufferBuilderContextError) -> ExecuteCommandsError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> ExecuteCommandsError
Performs the conversion.
impl From<AutoCommandBufferBuilderContextError> for UpdateBufferError
[src]
impl From<AutoCommandBufferBuilderContextError> for UpdateBufferError
fn from(err: AutoCommandBufferBuilderContextError) -> UpdateBufferError
[src]
fn from(err: AutoCommandBufferBuilderContextError) -> UpdateBufferError
Performs the conversion.
impl Debug for AutoCommandBufferBuilderContextError
[src]
impl Debug for AutoCommandBufferBuilderContextError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for AutoCommandBufferBuilderContextError
[src]
impl Copy for AutoCommandBufferBuilderContextError
impl Clone for AutoCommandBufferBuilderContextError
[src]
impl Clone for AutoCommandBufferBuilderContextError
fn clone(&self) -> AutoCommandBufferBuilderContextError
[src]
fn clone(&self) -> AutoCommandBufferBuilderContextError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Error for AutoCommandBufferBuilderContextError
[src]
impl Error for AutoCommandBufferBuilderContextError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for AutoCommandBufferBuilderContextError
[src]
impl Display for AutoCommandBufferBuilderContextError
Auto Trait Implementations
impl Send for AutoCommandBufferBuilderContextError
impl Send for AutoCommandBufferBuilderContextError
impl Sync for AutoCommandBufferBuilderContextError
impl Sync for AutoCommandBufferBuilderContextError