pub struct MicromapTriangleEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> MicromapTriangleEXTBuilder<'a>
impl<'a> MicromapTriangleEXTBuilder<'a>
pub fn data_offset(self, data_offset: u32) -> Self
pub fn subdivision_level(self, subdivision_level: u16) -> Self
pub fn format(self, format: u16) -> Self
Sourcepub fn build(self) -> MicromapTriangleEXT
pub fn build(self) -> MicromapTriangleEXT
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 MicromapTriangleEXTBuilder<'a>
impl<'a> Deref for MicromapTriangleEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for MicromapTriangleEXTBuilder<'a>
impl<'a> RefUnwindSafe for MicromapTriangleEXTBuilder<'a>
impl<'a> Send for MicromapTriangleEXTBuilder<'a>
impl<'a> Sync for MicromapTriangleEXTBuilder<'a>
impl<'a> Unpin for MicromapTriangleEXTBuilder<'a>
impl<'a> UnwindSafe for MicromapTriangleEXTBuilder<'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