Struct wgpu_types::DrawIndexedIndirectArgs [−][src]
#[repr(C)]pub struct DrawIndexedIndirectArgs { pub index_count: u32, pub instance_count: u32, pub first_index: u32, pub base_vertex: i32, pub first_instance: u32, }
Argument buffer layout for draw_indexed_indirect commands.
Fields
index_count: u32The number of indices to draw.
instance_count: u32The number of instances to draw.
first_index: u32Offset into the index buffer, in indices, begin drawing from.
base_vertex: i32Added to each index value before indexing into the vertex buffers.
first_instance: u32First instance to draw.
Trait Implementations
impl Clone for DrawIndexedIndirectArgs[src]
impl Clone for DrawIndexedIndirectArgs[src]fn clone(&self) -> DrawIndexedIndirectArgs[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for DrawIndexedIndirectArgs[src]
impl Copy for DrawIndexedIndirectArgs[src]Auto Trait Implementations
impl RefUnwindSafe for DrawIndexedIndirectArgs
impl RefUnwindSafe for DrawIndexedIndirectArgsimpl Send for DrawIndexedIndirectArgs
impl Send for DrawIndexedIndirectArgsimpl Sync for DrawIndexedIndirectArgs
impl Sync for DrawIndexedIndirectArgsimpl Unpin for DrawIndexedIndirectArgs
impl Unpin for DrawIndexedIndirectArgsimpl UnwindSafe for DrawIndexedIndirectArgs
impl UnwindSafe for DrawIndexedIndirectArgs