#[repr(C)]struct RawTlasInstance {
transform: [f32; 12],
custom_data_and_mask: u32,
shader_binding_table_record_offset_and_flags: u32,
acceleration_structure_reference: u64,
}
Available on
vulkan
only.Fields§
§transform: [f32; 12]
§custom_data_and_mask: u32
§shader_binding_table_record_offset_and_flags: u32
§acceleration_structure_reference: u64
Trait Implementations§
Source§impl Clone for RawTlasInstance
impl Clone for RawTlasInstance
Source§fn clone(&self) -> RawTlasInstance
fn clone(&self) -> RawTlasInstance
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 RawTlasInstance
impl Pod for RawTlasInstance
Auto Trait Implementations§
impl Freeze for RawTlasInstance
impl RefUnwindSafe for RawTlasInstance
impl Send for RawTlasInstance
impl Sync for RawTlasInstance
impl Unpin for RawTlasInstance
impl UnwindSafe for RawTlasInstance
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.