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
sourceimpl Clone for CommandBufferInheritanceRenderPassType
impl Clone for CommandBufferInheritanceRenderPassType
sourcefn clone(&self) -> CommandBufferInheritanceRenderPassType
fn clone(&self) -> CommandBufferInheritanceRenderPassType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl From<CommandBufferInheritanceRenderPassInfo> for CommandBufferInheritanceRenderPassType
impl From<CommandBufferInheritanceRenderPassInfo> for CommandBufferInheritanceRenderPassType
sourcefn from(val: CommandBufferInheritanceRenderPassInfo) -> Self
fn from(val: CommandBufferInheritanceRenderPassInfo) -> Self
Converts to this type from the input type.
sourceimpl From<CommandBufferInheritanceRenderingInfo> for CommandBufferInheritanceRenderPassType
impl From<CommandBufferInheritanceRenderingInfo> for CommandBufferInheritanceRenderPassType
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more