Enum vulkano::command_buffer::sys::Flags
source · pub enum Flags {
None,
SimultaneousUse,
OneTimeSubmit,
}
Expand description
Flags to pass when creating a command buffer.
The safest option is SimultaneousUse
, but it may be slower than the other two.
Variants
None
The command buffer can be used multiple times, but must not execute more than once simultaneously.
SimultaneousUse
The command buffer can be executed multiple times in parallel.
OneTimeSubmit
The command buffer can only be submitted once. Any further submit is forbidden.
Trait Implementations
impl Copy for Flags
impl Eq for Flags
impl StructuralEq for Flags
impl StructuralPartialEq for Flags
Auto Trait Implementations
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.