pub struct BindAccelerationStructureMemoryInfoNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> BindAccelerationStructureMemoryInfoNVBuilder<'a>
impl<'a> BindAccelerationStructureMemoryInfoNVBuilder<'a>
pub fn acceleration_structure( self, acceleration_structure: AccelerationStructureNV ) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn memory_offset(self, memory_offset: DeviceSize) -> Self
pub fn device_indices(self, device_indices: &'a [u32]) -> Self
sourcepub fn build(self) -> BindAccelerationStructureMemoryInfoNV
pub fn build(self) -> BindAccelerationStructureMemoryInfoNV
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 BindAccelerationStructureMemoryInfoNVBuilder<'a>
impl<'a> Deref for BindAccelerationStructureMemoryInfoNVBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BindAccelerationStructureMemoryInfoNVBuilder<'a>
impl<'a> !Send for BindAccelerationStructureMemoryInfoNVBuilder<'a>
impl<'a> !Sync for BindAccelerationStructureMemoryInfoNVBuilder<'a>
impl<'a> Unpin for BindAccelerationStructureMemoryInfoNVBuilder<'a>
impl<'a> UnwindSafe for BindAccelerationStructureMemoryInfoNVBuilder<'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