Struct wgpu_core::track::BindGroupStates
source · pub(crate) struct BindGroupStates {
pub buffers: BufferBindGroupState,
pub views: TextureViewBindGroupState,
pub samplers: StatelessTracker<Sampler>,
pub acceleration_structures: StatelessTracker<Tlas>,
}
Expand description
All the usages that a bind group contains. The uses are not deduplicated in any way and may include conflicting uses. This is fully compliant by the WebGPU spec.
All bind group states are sorted by their ID so that when adding to a tracker, they are added in the most efficient order possible (ascending order).
Fields§
§buffers: BufferBindGroupState
§views: TextureViewBindGroupState
§samplers: StatelessTracker<Sampler>
§acceleration_structures: StatelessTracker<Tlas>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BindGroupStates
impl !RefUnwindSafe for BindGroupStates
impl Send for BindGroupStates
impl Sync for BindGroupStates
impl Unpin for BindGroupStates
impl !UnwindSafe for BindGroupStates
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