Struct ash::vk::DrawIndexedIndirectCommand
source · #[repr(C)]pub struct DrawIndexedIndirectCommand {
pub index_count: u32,
pub instance_count: u32,
pub first_index: u32,
pub vertex_offset: i32,
pub first_instance: u32,
}
Expand description
Fields§
§index_count: u32
§instance_count: u32
§first_index: u32
§vertex_offset: i32
§first_instance: u32
Implementations§
source§impl DrawIndexedIndirectCommand
impl DrawIndexedIndirectCommand
pub fn index_count(self, index_count: u32) -> Self
pub fn instance_count(self, instance_count: u32) -> Self
pub fn first_index(self, first_index: u32) -> Self
pub fn vertex_offset(self, vertex_offset: i32) -> Self
pub fn first_instance(self, first_instance: u32) -> Self
Trait Implementations§
source§impl Clone for DrawIndexedIndirectCommand
impl Clone for DrawIndexedIndirectCommand
source§fn clone(&self) -> DrawIndexedIndirectCommand
fn clone(&self) -> DrawIndexedIndirectCommand
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 DrawIndexedIndirectCommand
impl Debug for DrawIndexedIndirectCommand
source§impl Default for DrawIndexedIndirectCommand
impl Default for DrawIndexedIndirectCommand
source§fn default() -> DrawIndexedIndirectCommand
fn default() -> DrawIndexedIndirectCommand
Returns the “default value” for a type. Read more
impl Copy for DrawIndexedIndirectCommand
Auto Trait Implementations§
impl Freeze for DrawIndexedIndirectCommand
impl RefUnwindSafe for DrawIndexedIndirectCommand
impl Send for DrawIndexedIndirectCommand
impl Sync for DrawIndexedIndirectCommand
impl Unpin for DrawIndexedIndirectCommand
impl UnwindSafe for DrawIndexedIndirectCommand
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