Struct ash::vk::AccelerationStructureGeometryKHRBuilder
source · #[repr(transparent)]pub struct AccelerationStructureGeometryKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> AccelerationStructureGeometryKHRBuilder<'a>
pub fn geometry_type(self, geometry_type: GeometryTypeKHR) -> Self
pub fn geometry(self, geometry: AccelerationStructureGeometryDataKHR) -> Self
pub fn flags(self, flags: GeometryFlagsKHR) -> Self
sourcepub fn build(self) -> AccelerationStructureGeometryKHR
pub fn build(self) -> AccelerationStructureGeometryKHR
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.