#[repr(C)]pub struct DispatchIndirectCommand {
pub x: u32,
pub y: u32,
pub z: u32,
}
Expand description
Structure specifying an indirect dispatching command
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDispatchIndirectCommand.html
Fields§
§x: u32
x is the number of local workgroups to dispatch in the X dimension.
y: u32
y is the number of local workgroups to dispatch in the Y dimension.
z: u32
z is the number of local workgroups to dispatch in the Z dimension.
Trait Implementations§
source§impl Clone for DispatchIndirectCommand
impl Clone for DispatchIndirectCommand
source§fn clone(&self) -> DispatchIndirectCommand
fn clone(&self) -> DispatchIndirectCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DispatchIndirectCommand
impl Debug for DispatchIndirectCommand
source§impl Default for DispatchIndirectCommand
impl Default for DispatchIndirectCommand
source§fn default() -> DispatchIndirectCommand
fn default() -> DispatchIndirectCommand
Returns the “default value” for a type. Read more
source§impl From<DispatchIndirectCommand> for UVec3
impl From<DispatchIndirectCommand> for UVec3
source§fn from(v: DispatchIndirectCommand) -> Self
fn from(v: DispatchIndirectCommand) -> Self
Converts to this type from the input type.
source§impl From<UVec3> for DispatchIndirectCommand
impl From<UVec3> for DispatchIndirectCommand
impl Copy for DispatchIndirectCommand
impl Pod for DispatchIndirectCommand
Auto Trait Implementations§
impl Freeze for DispatchIndirectCommand
impl RefUnwindSafe for DispatchIndirectCommand
impl Send for DispatchIndirectCommand
impl Sync for DispatchIndirectCommand
impl Unpin for DispatchIndirectCommand
impl UnwindSafe for DispatchIndirectCommand
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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.