Struct vulkanalia::vk::AccelerationStructureInstanceKHR
source · #[repr(C)]pub struct AccelerationStructureInstanceKHR {
pub transform: TransformMatrixKHR,
pub instance_custom_index_and_mask: Bitfield24_8,
pub instance_shader_binding_table_record_offset_and_flags: Bitfield24_8,
pub acceleration_structure_reference: u64,
}
Expand description
Fields§
§transform: TransformMatrixKHR
§instance_custom_index_and_mask: Bitfield24_8
§instance_shader_binding_table_record_offset_and_flags: Bitfield24_8
§acceleration_structure_reference: u64
Trait Implementations§
source§impl Cast for AccelerationStructureInstanceKHR
impl Cast for AccelerationStructureInstanceKHR
§type Target = AccelerationStructureInstanceKHR
type Target = AccelerationStructureInstanceKHR
The other type this type can be used interchangeably with in FFI.
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 moresource§impl Default for AccelerationStructureInstanceKHR
impl Default for AccelerationStructureInstanceKHR
source§fn default() -> AccelerationStructureInstanceKHR
fn default() -> AccelerationStructureInstanceKHR
Returns the “default value” for a type. Read more
source§impl HasBuilder<'static> for AccelerationStructureInstanceKHR
impl HasBuilder<'static> for AccelerationStructureInstanceKHR
source§impl PartialEq<AccelerationStructureInstanceKHR> for AccelerationStructureInstanceKHR
impl PartialEq<AccelerationStructureInstanceKHR> for AccelerationStructureInstanceKHR
source§fn eq(&self, other: &AccelerationStructureInstanceKHR) -> bool
fn eq(&self, other: &AccelerationStructureInstanceKHR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AccelerationStructureInstanceKHR
impl StructuralPartialEq for AccelerationStructureInstanceKHR
Auto Trait Implementations§
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