Struct ash::vk::MicromapBuildInfoEXTBuilder
source · pub struct MicromapBuildInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MicromapBuildInfoEXTBuilder<'a>
impl<'a> MicromapBuildInfoEXTBuilder<'a>
pub fn ty(self, ty: MicromapTypeEXT) -> Self
pub fn flags(self, flags: BuildMicromapFlagsEXT) -> Self
pub fn mode(self, mode: BuildMicromapModeEXT) -> Self
pub fn dst_micromap(self, dst_micromap: MicromapEXT) -> Self
pub fn usage_counts(self, usage_counts: &'a [MicromapUsageEXT]) -> Self
pub fn usage_counts_ptrs( self, usage_counts_ptrs: &'a [&'a MicromapUsageEXT] ) -> Self
pub fn data(self, data: DeviceOrHostAddressConstKHR) -> Self
pub fn scratch_data(self, scratch_data: DeviceOrHostAddressKHR) -> Self
pub fn triangle_array(self, triangle_array: DeviceOrHostAddressConstKHR) -> Self
pub fn triangle_array_stride(self, triangle_array_stride: DeviceSize) -> Self
sourcepub fn build(self) -> MicromapBuildInfoEXT
pub fn build(self) -> MicromapBuildInfoEXT
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 MicromapBuildInfoEXTBuilder<'a>
impl<'a> Deref for MicromapBuildInfoEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MicromapBuildInfoEXTBuilder<'a>
impl<'a> !Send for MicromapBuildInfoEXTBuilder<'a>
impl<'a> !Sync for MicromapBuildInfoEXTBuilder<'a>
impl<'a> Unpin for MicromapBuildInfoEXTBuilder<'a>
impl<'a> UnwindSafe for MicromapBuildInfoEXTBuilder<'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