Struct voodoo::DrawIndirectCommandBuilder
[−]
[src]
pub struct DrawIndirectCommandBuilder { /* fields omitted */ }
A builder for VkDrawIndirectCommand
.
Methods
impl DrawIndirectCommandBuilder
[src]
pub fn new() -> DrawIndirectCommandBuilder
[src]
pub fn vertex_count<'m>(self, vertex_count: u32) -> DrawIndirectCommandBuilder
[src]
pub fn instance_count<'m>(
self,
instance_count: u32
) -> DrawIndirectCommandBuilder
[src]
self,
instance_count: u32
) -> DrawIndirectCommandBuilder
pub fn first_vertex<'m>(self, first_vertex: u32) -> DrawIndirectCommandBuilder
[src]
pub fn first_instance<'m>(
self,
first_instance: u32
) -> DrawIndirectCommandBuilder
[src]
self,
first_instance: u32
) -> DrawIndirectCommandBuilder
pub fn get_vertex_count<'a>(&'a self) -> u32
[src]
pub fn get_instance_count<'a>(&'a self) -> u32
[src]
pub fn get_first_vertex<'a>(&'a self) -> u32
[src]
pub fn get_first_instance<'a>(&'a self) -> u32
[src]
pub fn build(self) -> DrawIndirectCommand
[src]
Trait Implementations
impl Debug for DrawIndirectCommandBuilder
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DrawIndirectCommandBuilder
[src]
fn clone(&self) -> DrawIndirectCommandBuilder
[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 DrawIndirectCommandBuilder
[src]
fn default() -> DrawIndirectCommandBuilder
[src]
Returns the "default value" for a type. Read more