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