#[repr(C)]pub struct DrawIndexedCommand {
pub index_count: u32,
pub instance_count: u32,
pub first_index: u32,
pub vertex_offset: i32,
pub first_instance: u32,
}Expand description
Draw command for draw_indexed_indirect.
Fields§
§index_count: u32Number of indices to draw.
instance_count: u32Number of instances to draw.
first_index: u32First index.
vertex_offset: i32Vertex offset that is added to index before indexing the vertex buffer.
first_instance: u32First instance index.
Trait Implementations§
Source§impl Clone for DrawIndexedCommand
impl Clone for DrawIndexedCommand
Source§fn clone(&self) -> DrawIndexedCommand
fn clone(&self) -> DrawIndexedCommand
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 Debug for DrawIndexedCommand
impl Debug for DrawIndexedCommand
impl Copy for DrawIndexedCommand
Auto Trait Implementations§
impl Freeze for DrawIndexedCommand
impl RefUnwindSafe for DrawIndexedCommand
impl Send for DrawIndexedCommand
impl Sync for DrawIndexedCommand
impl Unpin for DrawIndexedCommand
impl UnwindSafe for DrawIndexedCommand
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