pub struct Dispatch {
pub bind_groups: Vec<BindGroup>,
pub bind_group_offsets: Vec<Vec<u32>>,
pub pipeline: ComputePipeline,
pub extent: (u32, u32, u32),
}
Expand description
All of the data needed to issue a single compute operation
Fields§
§bind_groups: Vec<BindGroup>
§bind_group_offsets: Vec<Vec<u32>>
§pipeline: ComputePipeline
§extent: (u32, u32, u32)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dispatch
impl !RefUnwindSafe for Dispatch
impl Send for Dispatch
impl Sync for Dispatch
impl Unpin for Dispatch
impl !UnwindSafe for Dispatch
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