struct BindState {
bind_group_id: BindGroupId,
layout_id: Valid<BindGroupLayoutId>,
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_id: BindGroupId
The id of the bind group set at this index.
layout_id: Valid<BindGroupLayoutId>
The layout of group
.
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 !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