Struct voodoo::DrawIndexedIndirectCommandBuilder
[−]
[src]
pub struct DrawIndexedIndirectCommandBuilder { /* fields omitted */ }
A builder for VkDrawIndexedIndirectCommand
.
Methods
impl DrawIndexedIndirectCommandBuilder
[src]
pub fn new() -> DrawIndexedIndirectCommandBuilder
[src]
pub fn index_count<'m>(
self,
index_count: u32
) -> DrawIndexedIndirectCommandBuilder
[src]
self,
index_count: u32
) -> DrawIndexedIndirectCommandBuilder
pub fn instance_count<'m>(
self,
instance_count: u32
) -> DrawIndexedIndirectCommandBuilder
[src]
self,
instance_count: u32
) -> DrawIndexedIndirectCommandBuilder
pub fn first_index<'m>(
self,
first_index: u32
) -> DrawIndexedIndirectCommandBuilder
[src]
self,
first_index: u32
) -> DrawIndexedIndirectCommandBuilder
pub fn vertex_offset<'m>(
self,
vertex_offset: i32
) -> DrawIndexedIndirectCommandBuilder
[src]
self,
vertex_offset: i32
) -> DrawIndexedIndirectCommandBuilder
pub fn first_instance<'m>(
self,
first_instance: u32
) -> DrawIndexedIndirectCommandBuilder
[src]
self,
first_instance: u32
) -> DrawIndexedIndirectCommandBuilder
pub fn get_index_count<'a>(&'a self) -> u32
[src]
pub fn get_instance_count<'a>(&'a self) -> u32
[src]
pub fn get_first_index<'a>(&'a self) -> u32
[src]
pub fn get_vertex_offset<'a>(&'a self) -> i32
[src]
pub fn get_first_instance<'a>(&'a self) -> u32
[src]
pub fn build(self) -> DrawIndexedIndirectCommand
[src]
Trait Implementations
impl Debug for DrawIndexedIndirectCommandBuilder
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DrawIndexedIndirectCommandBuilder
[src]
fn clone(&self) -> DrawIndexedIndirectCommandBuilder
[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 DrawIndexedIndirectCommandBuilder
[src]
fn default() -> DrawIndexedIndirectCommandBuilder
[src]
Returns the "default value" for a type. Read more