pub enum BufferPhase {
Idle,
Recording,
InFlight {
target_timeline: u64,
},
}Expand description
The temporal execution phase of a GPU buffer relative to the command timeline.
Variants§
Idle
Buffer is idle and safe for immediate host manipulation.
Recording
Buffer is currently involved in recording commands within an active flow.
InFlight
Buffer has commands submitted and executing on the GPU hardware.
Trait Implementations§
Source§impl Clone for BufferPhase
impl Clone for BufferPhase
impl Copy for BufferPhase
Source§impl Debug for BufferPhase
impl Debug for BufferPhase
impl Eq for BufferPhase
Source§impl PartialEq for BufferPhase
impl PartialEq for BufferPhase
impl StructuralPartialEq for BufferPhase
Auto Trait Implementations§
impl Freeze for BufferPhase
impl RefUnwindSafe for BufferPhase
impl Send for BufferPhase
impl Sync for BufferPhase
impl Unpin for BufferPhase
impl UnsafeUnpin for BufferPhase
impl UnwindSafe for BufferPhase
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