#[repr(C, packed(1))]pub struct DrawIndexedPrimitivesIndirectArguments {
pub index_count: u32,
pub instance_count: u32,
pub index_start: u32,
pub base_vertex: i32,
pub base_instance: u32,
}Expand description
Indirect arguments for drawing indexed primitives.
C++ equivalent: MTL::DrawIndexedPrimitivesIndirectArguments
Fields§
§index_count: u32§instance_count: u32§index_start: u32§base_vertex: i32§base_instance: u32Trait Implementations§
Source§impl Clone for DrawIndexedPrimitivesIndirectArguments
impl Clone for DrawIndexedPrimitivesIndirectArguments
Source§fn clone(&self) -> DrawIndexedPrimitivesIndirectArguments
fn clone(&self) -> DrawIndexedPrimitivesIndirectArguments
Returns a duplicate 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 Default for DrawIndexedPrimitivesIndirectArguments
impl Default for DrawIndexedPrimitivesIndirectArguments
Source§fn default() -> DrawIndexedPrimitivesIndirectArguments
fn default() -> DrawIndexedPrimitivesIndirectArguments
Returns the “default value” for a type. Read more
Source§impl PartialEq for DrawIndexedPrimitivesIndirectArguments
impl PartialEq for DrawIndexedPrimitivesIndirectArguments
Source§fn eq(&self, other: &DrawIndexedPrimitivesIndirectArguments) -> bool
fn eq(&self, other: &DrawIndexedPrimitivesIndirectArguments) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DrawIndexedPrimitivesIndirectArguments
impl Eq for DrawIndexedPrimitivesIndirectArguments
impl StructuralPartialEq for DrawIndexedPrimitivesIndirectArguments
Auto Trait Implementations§
impl Freeze for DrawIndexedPrimitivesIndirectArguments
impl RefUnwindSafe for DrawIndexedPrimitivesIndirectArguments
impl Send for DrawIndexedPrimitivesIndirectArguments
impl Sync for DrawIndexedPrimitivesIndirectArguments
impl Unpin for DrawIndexedPrimitivesIndirectArguments
impl UnwindSafe for DrawIndexedPrimitivesIndirectArguments
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