#[repr(C)]pub struct DrawIndexedIndirectCommand {
pub indexCount: u32,
pub instanceCount: u32,
pub firstIndex: u32,
pub vertexOffset: i32,
pub firstInstance: u32,
}Fields§
§indexCount: u32§instanceCount: u32§firstIndex: u32§vertexOffset: i32§firstInstance: u32Implementations§
Source§impl DrawIndexedIndirectCommand
impl DrawIndexedIndirectCommand
pub fn new() -> Self
pub fn indexCount(self, indexCount: u32) -> Self
pub fn instanceCount(self, instanceCount: u32) -> Self
pub fn firstIndex(self, firstIndex: u32) -> Self
pub fn vertexOffset(self, vertexOffset: i32) -> Self
pub fn firstInstance(self, firstInstance: u32) -> Self
Trait Implementations§
Source§impl Clone for DrawIndexedIndirectCommand
impl Clone for DrawIndexedIndirectCommand
Source§fn clone(&self) -> DrawIndexedIndirectCommand
fn clone(&self) -> DrawIndexedIndirectCommand
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 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