pub struct DrawIndexedIndirectCommandBuilder { /* private fields */ }Expand description
A builder for a DrawIndexedIndirectCommand.
Implementations§
Source§impl DrawIndexedIndirectCommandBuilder
impl DrawIndexedIndirectCommandBuilder
pub fn index_count(self, index_count: u32) -> Self
pub fn instance_count(self, instance_count: u32) -> Self
pub fn first_index(self, first_index: u32) -> Self
pub fn vertex_offset(self, vertex_offset: i32) -> Self
pub fn first_instance(self, first_instance: u32) -> Self
pub fn build(self) -> DrawIndexedIndirectCommand
Trait Implementations§
Source§impl Cast for DrawIndexedIndirectCommandBuilder
impl Cast for DrawIndexedIndirectCommandBuilder
Source§type Target = DrawIndexedIndirectCommand
type Target = DrawIndexedIndirectCommand
The other type this type can be used interchangeably with in FFI.
impl Copy for DrawIndexedIndirectCommandBuilder
Auto Trait Implementations§
impl Forget for DrawIndexedIndirectCommandBuilder
impl Freeze for DrawIndexedIndirectCommandBuilder
impl RefUnwindSafe for DrawIndexedIndirectCommandBuilder
impl Send for DrawIndexedIndirectCommandBuilder
impl Sync for DrawIndexedIndirectCommandBuilder
impl Unpin for DrawIndexedIndirectCommandBuilder
impl UnsafeUnpin for DrawIndexedIndirectCommandBuilder
impl UnwindSafe for DrawIndexedIndirectCommandBuilder
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