#[repr(C)]pub struct DrawIndirectCommand {
pub vertex_count: u32,
pub instance_count: u32,
pub first_vertex: u32,
pub first_instance: u32,
}Expand description
Native structure VkDrawIndirectCommand.
Fields§
§vertex_count: u32Native field vertexCount.
instance_count: u32Native field instanceCount.
first_vertex: u32Native field firstVertex.
first_instance: u32Native field firstInstance.
Implementations§
Source§impl DrawIndirectCommand
impl DrawIndirectCommand
Sourcepub fn set_vertex_count(self, value: u32) -> Self
pub fn set_vertex_count(self, value: u32) -> Self
Set native field vertexCount 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_vertex(self, value: u32) -> Self
pub fn set_first_vertex(self, value: u32) -> Self
Set native field firstVertex 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 DrawIndirectCommand
impl Clone for DrawIndirectCommand
impl Copy for DrawIndirectCommand
Auto Trait Implementations§
impl Forget for DrawIndirectCommand
impl Freeze for DrawIndirectCommand
impl Move for DrawIndirectCommand
impl RefUnwindSafe for DrawIndirectCommand
impl Send for DrawIndirectCommand
impl Sync for DrawIndirectCommand
impl Unpin for DrawIndirectCommand
impl UnsafeUnpin for DrawIndirectCommand
impl UnwindSafe for DrawIndirectCommand
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