pub struct AccelerationStructureBuildRangeInfoKHRBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
impl<'a> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
pub fn primitive_count(
self,
primitive_count: u32
) -> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
pub fn primitive_offset(
self,
primitive_offset: u32
) -> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
pub fn first_vertex(
self,
first_vertex: u32
) -> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
pub fn transform_offset(
self,
transform_offset: u32
) -> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
sourcepub fn build(self) -> AccelerationStructureBuildRangeInfoKHR
pub fn build(self) -> AccelerationStructureBuildRangeInfoKHR
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 AccelerationStructureBuildRangeInfoKHRBuilder<'a>
impl<'a> Deref for AccelerationStructureBuildRangeInfoKHRBuilder<'a>
§type Target = AccelerationStructureBuildRangeInfoKHR
type Target = AccelerationStructureBuildRangeInfoKHR
The resulting type after dereferencing.