#[repr(C)]pub struct DrawMeshTasksIndirectCommand {
pub group_count_x: u32,
pub group_count_y: u32,
pub group_count_z: u32,
}Expand description
Used as buffer contents to provide input for the
AutoCommandBufferBuilder::draw_mesh_tasks_indirect command.
§Safety
- If the graphics pipeline does not include a task shader, then the
group_count_x,group_count_yandgroup_count_zvalues must not be greater than the respective elements of themax_mesh_work_group_countdevice limit, and the product of these three values must not be greater than themax_mesh_work_group_total_countdevice limit. - If the graphics pipeline does include a task shader, then the
group_count_x,group_count_yandgroup_count_zvalues must not be greater than the respective elements of themax_task_work_group_countdevice limit, and the product of these three values must not be greater than themax_task_work_group_total_countdevice limit.
Fields§
§group_count_x: u32§group_count_y: u32§group_count_z: u32Trait Implementations§
Source§impl Clone for DrawMeshTasksIndirectCommand
impl Clone for DrawMeshTasksIndirectCommand
Source§fn clone(&self) -> DrawMeshTasksIndirectCommand
fn clone(&self) -> DrawMeshTasksIndirectCommand
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 DrawMeshTasksIndirectCommand
impl Debug for DrawMeshTasksIndirectCommand
Source§impl Default for DrawMeshTasksIndirectCommand
impl Default for DrawMeshTasksIndirectCommand
Source§fn default() -> DrawMeshTasksIndirectCommand
fn default() -> DrawMeshTasksIndirectCommand
Returns the “default value” for a type. Read more
Source§impl PartialEq for DrawMeshTasksIndirectCommand
impl PartialEq for DrawMeshTasksIndirectCommand
Source§fn eq(&self, other: &DrawMeshTasksIndirectCommand) -> bool
fn eq(&self, other: &DrawMeshTasksIndirectCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DrawMeshTasksIndirectCommand
impl Eq for DrawMeshTasksIndirectCommand
impl Pod for DrawMeshTasksIndirectCommand
impl StructuralPartialEq for DrawMeshTasksIndirectCommand
Auto Trait Implementations§
impl Freeze for DrawMeshTasksIndirectCommand
impl RefUnwindSafe for DrawMeshTasksIndirectCommand
impl Send for DrawMeshTasksIndirectCommand
impl Sync for DrawMeshTasksIndirectCommand
impl Unpin for DrawMeshTasksIndirectCommand
impl UnwindSafe for DrawMeshTasksIndirectCommand
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> BufferContents for T
impl<T> BufferContents for T
Source§const LAYOUT: BufferContentsLayout = const LAYOUT: BufferContentsLayout =
BufferContentsLayout::from_sized(Layout::new::<T>());
const LAYOUT: BufferContentsLayout = const LAYOUT: BufferContentsLayout = BufferContentsLayout::from_sized(Layout::new::<T>());
The layout of the contents.
unsafe fn ptr_from_slice(slice: NonNull<[u8]>) -> *mut T
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§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.