Struct vulkano::command_buffer::sys::CommandBufferBeginInfo
source · pub struct CommandBufferBeginInfo {
pub usage: CommandBufferUsage,
pub inheritance_info: Option<CommandBufferInheritanceInfo>,
pub _ne: NonExhaustive,
}
Expand description
Parameters to begin recording a command buffer.
Fields§
§usage: CommandBufferUsage
How the command buffer will be used.
The default value is CommandBufferUsage::MultipleSubmit
.
inheritance_info: Option<CommandBufferInheritanceInfo>
For a secondary command buffer, this must be Some
, containing the context that will be
inherited from the primary command buffer. For a primary command buffer, this must be
None
.
The default value is None
.
_ne: NonExhaustive
Trait Implementations§
source§impl Clone for CommandBufferBeginInfo
impl Clone for CommandBufferBeginInfo
source§fn clone(&self) -> CommandBufferBeginInfo
fn clone(&self) -> CommandBufferBeginInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommandBufferBeginInfo
impl Debug for CommandBufferBeginInfo
Auto Trait Implementations§
impl !RefUnwindSafe for CommandBufferBeginInfo
impl Send for CommandBufferBeginInfo
impl Sync for CommandBufferBeginInfo
impl Unpin for CommandBufferBeginInfo
impl !UnwindSafe for CommandBufferBeginInfo
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