pub struct MultiDrawIndexedInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> MultiDrawIndexedInfoEXTBuilder<'a>
impl<'a> MultiDrawIndexedInfoEXTBuilder<'a>
pub fn first_index(self, first_index: u32) -> Self
pub fn index_count(self, index_count: u32) -> Self
pub fn vertex_offset(self, vertex_offset: i32) -> Self
Sourcepub fn build(self) -> MultiDrawIndexedInfoEXT
pub fn build(self) -> MultiDrawIndexedInfoEXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for MultiDrawIndexedInfoEXTBuilder<'a>
impl<'a> Deref for MultiDrawIndexedInfoEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for MultiDrawIndexedInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for MultiDrawIndexedInfoEXTBuilder<'a>
impl<'a> Send for MultiDrawIndexedInfoEXTBuilder<'a>
impl<'a> Sync for MultiDrawIndexedInfoEXTBuilder<'a>
impl<'a> Unpin for MultiDrawIndexedInfoEXTBuilder<'a>
impl<'a> UnwindSafe for MultiDrawIndexedInfoEXTBuilder<'a>
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