Struct voodoo::DrawIndirectCommand
[−]
[src]
#[repr(C)]pub struct DrawIndirectCommand { /* fields omitted */ }
A VkDrawIndirectCommand
.
Methods
impl DrawIndirectCommand
[src]
pub fn builder() -> DrawIndirectCommandBuilder
[src]
pub unsafe fn from_raw(raw: VkDrawIndirectCommand) -> DrawIndirectCommand
[src]
pub fn vertex_count<'a>(&'a self) -> u32
[src]
pub fn instance_count<'a>(&'a self) -> u32
[src]
pub fn first_vertex<'a>(&'a self) -> u32
[src]
pub fn first_instance<'a>(&'a self) -> u32
[src]
pub fn set_vertex_count<'m>(&mut self, vertex_count: u32)
[src]
pub fn set_instance_count<'m>(&mut self, instance_count: u32)
[src]
pub fn set_first_vertex<'m>(&mut self, first_vertex: u32)
[src]
pub fn set_first_instance<'m>(&mut self, first_instance: u32)
[src]
pub fn as_raw(&self) -> &VkDrawIndirectCommand
[src]
Trait Implementations
impl Debug for DrawIndirectCommand
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DrawIndirectCommand
[src]
fn clone(&self) -> DrawIndirectCommand
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for DrawIndirectCommand
[src]
fn default() -> DrawIndirectCommand
[src]
Returns the "default value" for a type. Read more
impl From<DrawIndirectCommand> for VkDrawIndirectCommand
[src]
fn from(f: DrawIndirectCommand) -> VkDrawIndirectCommand
[src]
Performs the conversion.