pub enum CommandBufferInheritanceRenderPassType {
BeginRenderPass(CommandBufferInheritanceRenderPassInfo),
BeginRendering(CommandBufferInheritanceRenderingInfo),
}
Expand description
Selects the type of render pass for command buffer inheritance.
Variants§
BeginRenderPass(CommandBufferInheritanceRenderPassInfo)
The secondary command buffer will be executed within a render pass begun with
begin_render_pass
, using a RenderPass
object and Framebuffer
.
BeginRendering(CommandBufferInheritanceRenderingInfo)
The secondary command buffer will be executed within a render pass begun with
begin_rendering
, using dynamic rendering.
Trait Implementations§
source§impl Clone for CommandBufferInheritanceRenderPassType
impl Clone for CommandBufferInheritanceRenderPassType
source§fn clone(&self) -> CommandBufferInheritanceRenderPassType
fn clone(&self) -> CommandBufferInheritanceRenderPassType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<CommandBufferInheritanceRenderPassInfo> for CommandBufferInheritanceRenderPassType
impl From<CommandBufferInheritanceRenderPassInfo> for CommandBufferInheritanceRenderPassType
source§fn from(val: CommandBufferInheritanceRenderPassInfo) -> Self
fn from(val: CommandBufferInheritanceRenderPassInfo) -> Self
Converts to this type from the input type.
source§impl From<CommandBufferInheritanceRenderingInfo> for CommandBufferInheritanceRenderPassType
impl From<CommandBufferInheritanceRenderingInfo> for CommandBufferInheritanceRenderPassType
source§fn from(val: CommandBufferInheritanceRenderingInfo) -> Self
fn from(val: CommandBufferInheritanceRenderingInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CommandBufferInheritanceRenderPassType
impl Send for CommandBufferInheritanceRenderPassType
impl Sync for CommandBufferInheritanceRenderPassType
impl Unpin for CommandBufferInheritanceRenderPassType
impl !UnwindSafe for CommandBufferInheritanceRenderPassType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more