pub struct AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a>
impl<'a> AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a>
pub fn index_type(self, index_type: IndexType) -> Self
pub fn index_buffer(self, index_buffer: DeviceOrHostAddressConstKHR) -> Self
pub fn index_stride(self, index_stride: DeviceSize) -> Self
pub fn base_triangle(self, base_triangle: u32) -> 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 micromap(self, micromap: MicromapEXT) -> Self
sourcepub fn build(self) -> AccelerationStructureTrianglesOpacityMicromapEXT
pub fn build(self) -> AccelerationStructureTrianglesOpacityMicromapEXT
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 AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a>
impl<'a> Deref for AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a>
source§impl<'a> DerefMut for AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a>
impl<'a> DerefMut for AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a>
impl ExtendsAccelerationStructureGeometryTrianglesDataKHR for AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a>
impl<'a> !Send for AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a>
impl<'a> !Sync for AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a>
impl<'a> Unpin for AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'a>
impl<'a> UnwindSafe for AccelerationStructureTrianglesOpacityMicromapEXTBuilder<'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