#[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
Native structure VkDrawIndexedIndirectCommand.
Fields§
§index_count: u32Native field indexCount.
instance_count: u32Native field instanceCount.
first_index: u32Native field firstIndex.
vertex_offset: i32Native field vertexOffset.
first_instance: u32Native field firstInstance.
Implementations§
Source§impl DrawIndexedIndirectCommand
impl DrawIndexedIndirectCommand
Sourcepub fn set_index_count(self, value: u32) -> Self
pub fn set_index_count(self, value: u32) -> Self
Set native field indexCount without native effects.
Sourcepub fn set_instance_count(self, value: u32) -> Self
pub fn set_instance_count(self, value: u32) -> Self
Set native field instanceCount without native effects.
Sourcepub fn set_first_index(self, value: u32) -> Self
pub fn set_first_index(self, value: u32) -> Self
Set native field firstIndex without native effects.
Sourcepub fn set_vertex_offset(self, value: i32) -> Self
pub fn set_vertex_offset(self, value: i32) -> Self
Set native field vertexOffset without native effects.
Sourcepub fn set_first_instance(self, value: u32) -> Self
pub fn set_first_instance(self, value: u32) -> Self
Set native field firstInstance without native effects.
Trait Implementations§
Source§impl Clone for DrawIndexedIndirectCommand
impl Clone for DrawIndexedIndirectCommand
impl Copy for DrawIndexedIndirectCommand
Auto Trait Implementations§
impl Forget for DrawIndexedIndirectCommand
impl Freeze for DrawIndexedIndirectCommand
impl Move for DrawIndexedIndirectCommand
impl RefUnwindSafe for DrawIndexedIndirectCommand
impl Send for DrawIndexedIndirectCommand
impl Sync for DrawIndexedIndirectCommand
impl Unpin for DrawIndexedIndirectCommand
impl UnsafeUnpin 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