Struct ash::vk::AccelerationStructureInfoNVBuilder
source · [−]#[repr(transparent)]pub struct AccelerationStructureInfoNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for AccelerationStructureInfoNVBuilder<'a>
impl<'a> Deref for AccelerationStructureInfoNVBuilder<'a>
type Target = AccelerationStructureInfoNV
type Target = AccelerationStructureInfoNV
The resulting type after dereferencing.
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more