Struct ash::vk::AccelerationStructureInfoNVBuilder
source · #[repr(transparent)]pub struct AccelerationStructureInfoNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AccelerationStructureInfoNVBuilder<'a>
impl<'a> AccelerationStructureInfoNVBuilder<'a>
pub fn ty(self, ty: AccelerationStructureTypeNV) -> Self
pub fn flags(self, flags: BuildAccelerationStructureFlagsNV) -> Self
pub fn instance_count(self, instance_count: u32) -> Self
pub fn geometries(self, geometries: &'a [GeometryNV]) -> Self
sourcepub fn build(self) -> AccelerationStructureInfoNV
pub fn build(self) -> AccelerationStructureInfoNV
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.