Struct screen_13::prelude::vk::MicromapBuildSizesInfoEXTBuilder
source · pub struct MicromapBuildSizesInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MicromapBuildSizesInfoEXTBuilder<'a>
impl<'a> MicromapBuildSizesInfoEXTBuilder<'a>
pub fn micromap_size( self, micromap_size: u64, ) -> MicromapBuildSizesInfoEXTBuilder<'a>
pub fn build_scratch_size( self, build_scratch_size: u64, ) -> MicromapBuildSizesInfoEXTBuilder<'a>
pub fn discardable( self, discardable: bool, ) -> MicromapBuildSizesInfoEXTBuilder<'a>
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>
§type Target = MicromapBuildSizesInfoEXT
type Target = MicromapBuildSizesInfoEXT
The resulting type after dereferencing.
source§impl<'a> DerefMut for MicromapBuildSizesInfoEXTBuilder<'a>
impl<'a> DerefMut 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