#[repr(C)]pub struct DrawIndirectCommand {
pub vertex_count: u32,
pub instance_count: u32,
pub first_vertex: u32,
pub first_instance: u32,
}Expand description
Structure specifying an indirect drawing command
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDrawIndirectCommand.html
Fields§
§vertex_count: u32vertexCount is the number of vertices to draw.
instance_count: u32instanceCount is the number of instances to draw.
first_vertex: u32firstVertex is the index of the first vertex to draw.
first_instance: u32firstInstance is the instance ID of the first instance to draw.
Trait Implementations§
Source§impl Clone for DrawIndirectCommand
impl Clone for DrawIndirectCommand
impl Copy for DrawIndirectCommand
Source§impl Debug for DrawIndirectCommand
impl Debug for DrawIndirectCommand
Auto Trait Implementations§
impl Freeze 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