Struct ash::vk::definitions::BindAccelerationStructureMemoryInfoNV
source · #[repr(C)]pub struct BindAccelerationStructureMemoryInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub acceleration_structure: AccelerationStructureNV,
pub memory: DeviceMemory,
pub memory_offset: DeviceSize,
pub device_index_count: u32,
pub p_device_indices: *const u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§acceleration_structure: AccelerationStructureNV
§memory: DeviceMemory
§memory_offset: DeviceSize
§device_index_count: u32
§p_device_indices: *const u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> BindAccelerationStructureMemoryInfoNV<'a>
impl<'a> BindAccelerationStructureMemoryInfoNV<'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
Trait Implementations§
source§impl<'a> Clone for BindAccelerationStructureMemoryInfoNV<'a>
impl<'a> Clone for BindAccelerationStructureMemoryInfoNV<'a>
source§fn clone(&self) -> BindAccelerationStructureMemoryInfoNV<'a>
fn clone(&self) -> BindAccelerationStructureMemoryInfoNV<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for BindAccelerationStructureMemoryInfoNV<'a>
impl<'a> Debug for BindAccelerationStructureMemoryInfoNV<'a>
source§impl Default for BindAccelerationStructureMemoryInfoNV<'_>
impl Default for BindAccelerationStructureMemoryInfoNV<'_>
source§impl<'a> TaggedStructure for BindAccelerationStructureMemoryInfoNV<'a>
impl<'a> TaggedStructure for BindAccelerationStructureMemoryInfoNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV
impl<'a> Copy for BindAccelerationStructureMemoryInfoNV<'a>
impl Send for BindAccelerationStructureMemoryInfoNV<'_>
impl Sync for BindAccelerationStructureMemoryInfoNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for BindAccelerationStructureMemoryInfoNV<'a>
impl<'a> RefUnwindSafe for BindAccelerationStructureMemoryInfoNV<'a>
impl<'a> Unpin for BindAccelerationStructureMemoryInfoNV<'a>
impl<'a> UnwindSafe for BindAccelerationStructureMemoryInfoNV<'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