#[repr(C)]pub struct DrawArguments {
pub vertex_count_per_instance: u32,
pub instance_count: u32,
pub start_vertex_location: u32,
pub start_instance_location: u32,
}Expand description
Structure of arguments which can be used to execute draw_instanced calls indirectly
Fields§
§vertex_count_per_instance: u32§instance_count: u32§start_vertex_location: u32§start_instance_location: u32Trait Implementations§
Source§impl Clone for DrawArguments
impl Clone for DrawArguments
Source§fn clone(&self) -> DrawArguments
fn clone(&self) -> DrawArguments
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DrawArguments
Auto Trait Implementations§
impl Freeze for DrawArguments
impl RefUnwindSafe for DrawArguments
impl Send for DrawArguments
impl Sync for DrawArguments
impl Unpin for DrawArguments
impl UnsafeUnpin for DrawArguments
impl UnwindSafe for DrawArguments
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