pub enum CommandBufferFeatures {
ResetEverySubmission,
TiedToRenderPass,
SimultaneousRecording,
None,
All,
}
Expand description
Features that can be used to optimize command buffers for specific usages/scenarios
Variants§
ResetEverySubmission
Enable this feature when you would like the command buffer to reset it’s contents every time its submitted for Rendering.
TiedToRenderPass
Enable this feature if the command buffer lives within the lifetime of a render pass.
SimultaneousRecording
Enable this feature if the command buffer allows for silumtaneous recording
None
Enables no features.
All
Enables all features.
Auto Trait Implementations§
impl Freeze for CommandBufferFeatures
impl RefUnwindSafe for CommandBufferFeatures
impl Send for CommandBufferFeatures
impl Sync for CommandBufferFeatures
impl Unpin for CommandBufferFeatures
impl UnwindSafe for CommandBufferFeatures
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