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.