pub struct MicromapBuildSizesInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> MicromapBuildSizesInfoEXTBuilder<'a>
impl<'a> MicromapBuildSizesInfoEXTBuilder<'a>
pub fn micromap_size(self, micromap_size: DeviceSize) -> Self
pub fn build_scratch_size(self, build_scratch_size: DeviceSize) -> Self
pub fn discardable(self, discardable: bool) -> Self
Sourcepub fn build(self) -> MicromapBuildSizesInfoEXT
pub fn build(self) -> MicromapBuildSizesInfoEXT
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 MicromapBuildSizesInfoEXTBuilder<'a>
impl<'a> Deref for MicromapBuildSizesInfoEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for MicromapBuildSizesInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for MicromapBuildSizesInfoEXTBuilder<'a>
impl<'a> !Send for MicromapBuildSizesInfoEXTBuilder<'a>
impl<'a> !Sync for MicromapBuildSizesInfoEXTBuilder<'a>
impl<'a> Unpin for MicromapBuildSizesInfoEXTBuilder<'a>
impl<'a> UnwindSafe for MicromapBuildSizesInfoEXTBuilder<'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