pub struct AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'a>
impl<'a> AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'a>
pub fn displacement_bias_and_scale_format( self, displacement_bias_and_scale_format: Format, ) -> Self
pub fn displacement_vector_format( self, displacement_vector_format: Format, ) -> Self
pub fn displacement_bias_and_scale_buffer( self, displacement_bias_and_scale_buffer: DeviceOrHostAddressConstKHR, ) -> Self
pub fn displacement_bias_and_scale_stride( self, displacement_bias_and_scale_stride: DeviceSize, ) -> Self
pub fn displacement_vector_buffer( self, displacement_vector_buffer: DeviceOrHostAddressConstKHR, ) -> Self
pub fn displacement_vector_stride( self, displacement_vector_stride: DeviceSize, ) -> Self
pub fn displaced_micromap_primitive_flags( self, displaced_micromap_primitive_flags: DeviceOrHostAddressConstKHR, ) -> Self
pub fn displaced_micromap_primitive_flags_stride( self, displaced_micromap_primitive_flags_stride: DeviceSize, ) -> Self
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) -> AccelerationStructureTrianglesDisplacementMicromapNV
pub fn build(self) -> AccelerationStructureTrianglesDisplacementMicromapNV
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 AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'a>
impl<'a> Deref for AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'a>
impl ExtendsAccelerationStructureGeometryTrianglesDataKHR for AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'a>
impl<'a> RefUnwindSafe for AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'a>
impl<'a> !Send for AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'a>
impl<'a> !Sync for AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'a>
impl<'a> Unpin for AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'a>
impl<'a> UnwindSafe for AccelerationStructureTrianglesDisplacementMicromapNVBuilder<'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