[−][src]Struct wgpu_core::track::TrackerSet
A set of trackers for all relevant resources.
Fields
buffers: ResourceTracker<BufferState>textures: ResourceTracker<TextureState>views: ResourceTracker<PhantomData<TextureViewId>>bind_groups: ResourceTracker<PhantomData<BindGroupId>>samplers: ResourceTracker<PhantomData<SamplerId>>compute_pipes: ResourceTracker<PhantomData<ComputePipelineId>>render_pipes: ResourceTracker<PhantomData<RenderPipelineId>>Implementations
impl TrackerSet[src]
pub fn new(backend: Backend) -> Self[src]
Create an empty set.
pub fn clear(&mut self)[src]
Clear all the trackers.
pub fn optimize(&mut self)[src]
Try to optimize the tracking representation.
pub fn merge_extend(&mut self, other: &Self)[src]
Merge all the trackers of another instance by extending the usage. Panics on a conflict.
pub fn backend(&self) -> Backend[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TrackerSet
impl Send for TrackerSet
impl Sync for TrackerSet
impl Unpin for TrackerSet
impl !UnwindSafe for TrackerSet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,