Struct wgpu_types::DispatchIndirectArgs
source · [−]#[repr(C)]pub struct DispatchIndirectArgs {
pub group_size_x: u32,
pub group_size_y: u32,
pub group_size_z: u32,
}
Expand description
Argument buffer layout for dispatch_indirect commands.
Fields
group_size_x: u32
X dimension of the grid of workgroups to dispatch.
group_size_y: u32
Y dimension of the grid of workgroups to dispatch.
group_size_z: u32
Z dimension of the grid of workgroups to dispatch.
Trait Implementations
sourceimpl Clone for DispatchIndirectArgs
impl Clone for DispatchIndirectArgs
sourcefn clone(&self) -> DispatchIndirectArgs
fn clone(&self) -> DispatchIndirectArgs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DispatchIndirectArgs
impl Debug for DispatchIndirectArgs
impl Copy for DispatchIndirectArgs
Auto Trait Implementations
impl RefUnwindSafe for DispatchIndirectArgs
impl Send for DispatchIndirectArgs
impl Sync for DispatchIndirectArgs
impl Unpin for DispatchIndirectArgs
impl UnwindSafe for DispatchIndirectArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more