#[repr(C)]pub struct AccelerationStructureSRTMotionInstanceNV {
pub transform_t0: SRTDataNV,
pub transform_t1: SRTDataNV,
pub instance_custom_index_and_mask: Packed24_8,
pub instance_shader_binding_table_record_offset_and_flags: Packed24_8,
pub acceleration_structure_reference: AccelerationStructureReferenceKHR,
}
Expand description
Fields§
§transform_t0: SRTDataNV
§transform_t1: SRTDataNV
§instance_custom_index_and_mask: Packed24_8
Use Packed24_8::new(instance_custom_index, mask)
to construct this field
instance_shader_binding_table_record_offset_and_flags: Packed24_8
Use Packed24_8::new(instance_shader_binding_table_record_offset, flags)
to construct this field
acceleration_structure_reference: AccelerationStructureReferenceKHR
Trait Implementations§
Source§impl Clone for AccelerationStructureSRTMotionInstanceNV
impl Clone for AccelerationStructureSRTMotionInstanceNV
Source§fn clone(&self) -> AccelerationStructureSRTMotionInstanceNV
fn clone(&self) -> AccelerationStructureSRTMotionInstanceNV
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 moreimpl Copy for AccelerationStructureSRTMotionInstanceNV
Auto Trait Implementations§
impl Freeze for AccelerationStructureSRTMotionInstanceNV
impl RefUnwindSafe for AccelerationStructureSRTMotionInstanceNV
impl Send for AccelerationStructureSRTMotionInstanceNV
impl Sync for AccelerationStructureSRTMotionInstanceNV
impl Unpin for AccelerationStructureSRTMotionInstanceNV
impl UnwindSafe for AccelerationStructureSRTMotionInstanceNV
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)