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§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.