#[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: u32
Number of indices to draw.
instance_count: u32
Number of instances to draw.
first_index: u32
First index.
vertex_offset: i32
Vertex offset that is added to index before indexing the vertex buffer.
first_instance: u32
First instance index.
Trait Implementations§
Source§impl Clone for DrawIndexedCommand
impl Clone for DrawIndexedCommand
Source§fn clone(&self) -> DrawIndexedCommand
fn clone(&self) -> DrawIndexedCommand
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)