Struct screen_13::prelude::vk::MicromapTriangleEXTBuilder
source · pub struct MicromapTriangleEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MicromapTriangleEXTBuilder<'a>
impl<'a> MicromapTriangleEXTBuilder<'a>
pub fn data_offset(self, data_offset: u32) -> MicromapTriangleEXTBuilder<'a>
pub fn subdivision_level( self, subdivision_level: u16 ) -> MicromapTriangleEXTBuilder<'a>
pub fn format(self, format: u16) -> MicromapTriangleEXTBuilder<'a>
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>
§type Target = MicromapTriangleEXT
type Target = MicromapTriangleEXT
The resulting type after dereferencing.
source§impl<'a> DerefMut for MicromapTriangleEXTBuilder<'a>
impl<'a> DerefMut for MicromapTriangleEXTBuilder<'a>
Auto Trait Implementations§
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