struct BindState {
bind_group: Arc<BindGroup>,
dynamic_offsets: Range<usize>,
is_dirty: bool,
}
Expand description
A bind group that has been set at a particular index during render bundle encoding.
Fields§
§bind_group: Arc<BindGroup>
The id of the bind group set at this index.
dynamic_offsets: Range<usize>
The range of dynamic offsets for this bind group, in the original
command stream’s BassPass::dynamic_offsets
array.
is_dirty: bool
True if this index’s contents have been changed since the last time we
generated a SetBindGroup
command.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BindState
impl !RefUnwindSafe for BindState
impl Send for BindState
impl Sync for BindState
impl Unpin for BindState
impl !UnwindSafe for BindState
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