pub(crate) struct EncoderInFlight {
inner: InnerCommandEncoder,
pub(crate) trackers: Tracker,
pub(crate) temp_resources: Vec<TempResource>,
_indirect_draw_validation_resources: DrawResources,
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>>,
}Expand description
A series of raw CommandBuffers that have been submitted to a
queue, and the wgpu_hal::CommandEncoder that built them.
Fields§
§inner: InnerCommandEncoder§trackers: Tracker§temp_resources: Vec<TempResource>§_indirect_draw_validation_resources: DrawResourcesWe only need to keep these resources alive.
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.
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