#[repr(C)]pub struct AccelerationStructureSRTMotionInstanceNV {
pub transform_t0: SRTDataNV,
pub transform_t1: SRTDataNV,
pub bitfield_0: u32,
pub bitfield_1: u32,
pub acceleration_structure_reference: u64,
}Expand description
VkAccelerationStructureSRTMotionInstanceNV
Provided by VK_NV_ray_tracing_motion_blur.
Fields§
§transform_t0: SRTDataNV§transform_t1: SRTDataNV§bitfield_0: u32§bitfield_1: u32§acceleration_structure_reference: u64Implementations§
Source§impl AccelerationStructureSRTMotionInstanceNV
impl AccelerationStructureSRTMotionInstanceNV
pub fn instance_custom_index(&self) -> u32
pub fn set_instance_custom_index(&mut self, val: u32)
pub fn mask(&self) -> u32
pub fn set_mask(&mut self, val: u32)
pub fn instance_shader_binding_table_record_offset(&self) -> u32
pub fn set_instance_shader_binding_table_record_offset(&mut self, val: u32)
pub fn flags(&self) -> u32
pub fn set_flags(&mut self, val: u32)
Trait Implementations§
Source§impl Clone for AccelerationStructureSRTMotionInstanceNV
impl Clone for AccelerationStructureSRTMotionInstanceNV
Source§fn clone(&self) -> AccelerationStructureSRTMotionInstanceNV
fn clone(&self) -> AccelerationStructureSRTMotionInstanceNV
Returns a duplicate 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 UnsafeUnpin 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