pub struct DrawIndirectCommandBuilder { /* private fields */ }Expand description
A builder for VkDrawIndirectCommand.
Implementations§
Source§impl DrawIndirectCommandBuilder
impl DrawIndirectCommandBuilder
pub fn new() -> DrawIndirectCommandBuilder
pub fn vertex_count<'m>(self, vertex_count: u32) -> DrawIndirectCommandBuilder
pub fn instance_count<'m>( self, instance_count: u32, ) -> DrawIndirectCommandBuilder
pub fn first_vertex<'m>(self, first_vertex: u32) -> DrawIndirectCommandBuilder
pub fn first_instance<'m>( self, first_instance: u32, ) -> DrawIndirectCommandBuilder
pub fn get_vertex_count<'a>(&'a self) -> u32
pub fn get_instance_count<'a>(&'a self) -> u32
pub fn get_first_vertex<'a>(&'a self) -> u32
pub fn get_first_instance<'a>(&'a self) -> u32
pub fn build(self) -> DrawIndirectCommand
Trait Implementations§
Source§impl Clone for DrawIndirectCommandBuilder
impl Clone for DrawIndirectCommandBuilder
Source§fn clone(&self) -> DrawIndirectCommandBuilder
fn clone(&self) -> DrawIndirectCommandBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DrawIndirectCommandBuilder
impl Debug for DrawIndirectCommandBuilder
Source§impl Default for DrawIndirectCommandBuilder
impl Default for DrawIndirectCommandBuilder
Source§fn default() -> DrawIndirectCommandBuilder
fn default() -> DrawIndirectCommandBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DrawIndirectCommandBuilder
impl RefUnwindSafe for DrawIndirectCommandBuilder
impl Send for DrawIndirectCommandBuilder
impl Sync for DrawIndirectCommandBuilder
impl Unpin for DrawIndirectCommandBuilder
impl UnwindSafe for DrawIndirectCommandBuilder
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