Struct ash::vk::AccelerationStructureInfoNVBuilder
source · 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.
Trait Implementations§
source§impl<'a> Deref for AccelerationStructureInfoNVBuilder<'a>
impl<'a> Deref for AccelerationStructureInfoNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureInfoNVBuilder<'a>
impl<'a> RefUnwindSafe for AccelerationStructureInfoNVBuilder<'a>
impl<'a> !Send for AccelerationStructureInfoNVBuilder<'a>
impl<'a> !Sync for AccelerationStructureInfoNVBuilder<'a>
impl<'a> Unpin for AccelerationStructureInfoNVBuilder<'a>
impl<'a> UnwindSafe for AccelerationStructureInfoNVBuilder<'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