Struct ash::vk::AccelerationStructureInstanceKHR
source · #[repr(C)]pub struct AccelerationStructureInstanceKHR {
pub transform: TransformMatrixKHR,
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: TransformMatrixKHR
§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 AccelerationStructureInstanceKHR
impl Clone for AccelerationStructureInstanceKHR
source§fn clone(&self) -> AccelerationStructureInstanceKHR
fn clone(&self) -> AccelerationStructureInstanceKHR
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 AccelerationStructureInstanceKHR
Auto Trait Implementations§
impl Freeze for AccelerationStructureInstanceKHR
impl RefUnwindSafe for AccelerationStructureInstanceKHR
impl Send for AccelerationStructureInstanceKHR
impl Sync for AccelerationStructureInstanceKHR
impl Unpin for AccelerationStructureInstanceKHR
impl UnwindSafe for AccelerationStructureInstanceKHR
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
)