Struct ash::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: 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> 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