#[repr(C)]pub struct MTLAccelerationStructureInstanceDescriptor {
pub transformationMatrix: MTLPackedFloat4x3,
pub options: MTLAccelerationStructureInstanceOptions,
pub mask: u32,
pub intersectionFunctionTableOffset: u32,
pub accelerationStructureIndex: u32,
}Available on crate features
MTLAccelerationStructure and MTLAccelerationStructureTypes only.Fields§
§transformationMatrix: MTLPackedFloat4x3§options: MTLAccelerationStructureInstanceOptions§mask: u32§intersectionFunctionTableOffset: u32§accelerationStructureIndex: u32Trait Implementations§
source§impl Clone for MTLAccelerationStructureInstanceDescriptor
impl Clone for MTLAccelerationStructureInstanceDescriptor
source§fn clone(&self) -> MTLAccelerationStructureInstanceDescriptor
fn clone(&self) -> MTLAccelerationStructureInstanceDescriptor
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 PartialEq for MTLAccelerationStructureInstanceDescriptor
impl PartialEq for MTLAccelerationStructureInstanceDescriptor
source§fn eq(&self, other: &MTLAccelerationStructureInstanceDescriptor) -> bool
fn eq(&self, other: &MTLAccelerationStructureInstanceDescriptor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RefEncode for MTLAccelerationStructureInstanceDescriptor
impl RefEncode for MTLAccelerationStructureInstanceDescriptor
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTLAccelerationStructureInstanceDescriptor
impl StructuralPartialEq for MTLAccelerationStructureInstanceDescriptor
Auto Trait Implementations§
impl Freeze for MTLAccelerationStructureInstanceDescriptor
impl RefUnwindSafe for MTLAccelerationStructureInstanceDescriptor
impl Send for MTLAccelerationStructureInstanceDescriptor
impl Sync for MTLAccelerationStructureInstanceDescriptor
impl Unpin for MTLAccelerationStructureInstanceDescriptor
impl UnwindSafe for MTLAccelerationStructureInstanceDescriptor
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.