Struct wgpu_core::device::queue::EncoderInFlight
source · pub(crate) struct EncoderInFlight {
inner: CommandEncoder,
pub(crate) trackers: Tracker,
pub(crate) pending_buffers: HashMap<TrackerIndex, Arc<Buffer>, BuildHasherDefault<FxHasher>>,
pub(crate) pending_textures: HashMap<TrackerIndex, Arc<Texture>, BuildHasherDefault<FxHasher>>,
pub(crate) pending_blas_s: HashMap<TrackerIndex, Arc<Blas>, BuildHasherDefault<FxHasher>>,
pub(crate) pending_tlas_s: HashMap<TrackerIndex, Arc<Tlas>, BuildHasherDefault<FxHasher>>,
}
Expand description
A series of raw CommandBuffer
s that have been submitted to a
queue, and the wgpu_hal::CommandEncoder
that built them.
Fields§
§inner: CommandEncoder
§trackers: Tracker
§pending_buffers: HashMap<TrackerIndex, Arc<Buffer>, BuildHasherDefault<FxHasher>>
These are the buffers that have been tracked by PendingWrites
.
pending_textures: HashMap<TrackerIndex, Arc<Texture>, BuildHasherDefault<FxHasher>>
These are the textures that have been tracked by PendingWrites
.
pending_blas_s: HashMap<TrackerIndex, Arc<Blas>, BuildHasherDefault<FxHasher>>
These are the BLASes that have been tracked by PendingWrites
.
pending_tlas_s: HashMap<TrackerIndex, Arc<Tlas>, BuildHasherDefault<FxHasher>>
These are the TLASes that have been tracked by PendingWrites
.
Auto Trait Implementations§
impl Freeze for EncoderInFlight
impl !RefUnwindSafe for EncoderInFlight
impl Send for EncoderInFlight
impl Sync for EncoderInFlight
impl Unpin for EncoderInFlight
impl !UnwindSafe for EncoderInFlight
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