pub enum SubpassContents {
Inline,
SecondaryBuffers,
}
Expand description
Specifies how commands for the following render passes will be recorded.
Variants§
Inline
Contents of the subpass will be inline in the command buffer, NOT in secondary command buffers.
SecondaryBuffers
Contents of the subpass will be in secondary command buffers, and
the primary command buffer will only contain execute_command()
calls
until the subpass or render pass is complete.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubpassContents
impl RefUnwindSafe for SubpassContents
impl Send for SubpassContents
impl Sync for SubpassContents
impl Unpin for SubpassContents
impl UnwindSafe for SubpassContents
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