Enum gfx_hal::command::SubpassContents
source · [−]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 RefUnwindSafe for SubpassContents
impl Send for SubpassContents
impl Sync for SubpassContents
impl Unpin for SubpassContents
impl UnwindSafe for SubpassContents
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more