#[repr(C)]pub struct MTLAccelerationStructureMotionInstanceDescriptor {
pub options: MTLAccelerationStructureInstanceOptions,
pub mask: u32,
pub intersectionFunctionTableOffset: u32,
pub accelerationStructureIndex: u32,
pub userID: u32,
pub motionTransformsStartIndex: u32,
pub motionTransformsCount: u32,
pub motionStartBorderMode: MTLMotionBorderMode,
pub motionEndBorderMode: MTLMotionBorderMode,
pub motionStartTime: c_float,
pub motionEndTime: c_float,
}Available on crate feature
MTLAccelerationStructure only.Fields§
§options: MTLAccelerationStructureInstanceOptions§mask: u32§intersectionFunctionTableOffset: u32§accelerationStructureIndex: u32§userID: u32§motionTransformsStartIndex: u32§motionTransformsCount: u32§motionStartBorderMode: MTLMotionBorderMode§motionEndBorderMode: MTLMotionBorderMode§motionStartTime: c_float§motionEndTime: c_floatTrait Implementations§
source§impl Clone for MTLAccelerationStructureMotionInstanceDescriptor
impl Clone for MTLAccelerationStructureMotionInstanceDescriptor
source§fn clone(&self) -> MTLAccelerationStructureMotionInstanceDescriptor
fn clone(&self) -> MTLAccelerationStructureMotionInstanceDescriptor
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 MTLAccelerationStructureMotionInstanceDescriptor
impl PartialEq for MTLAccelerationStructureMotionInstanceDescriptor
source§fn eq(&self, other: &MTLAccelerationStructureMotionInstanceDescriptor) -> bool
fn eq(&self, other: &MTLAccelerationStructureMotionInstanceDescriptor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RefEncode for MTLAccelerationStructureMotionInstanceDescriptor
impl RefEncode for MTLAccelerationStructureMotionInstanceDescriptor
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 MTLAccelerationStructureMotionInstanceDescriptor
impl StructuralPartialEq for MTLAccelerationStructureMotionInstanceDescriptor
Auto Trait Implementations§
impl Freeze for MTLAccelerationStructureMotionInstanceDescriptor
impl RefUnwindSafe for MTLAccelerationStructureMotionInstanceDescriptor
impl Send for MTLAccelerationStructureMotionInstanceDescriptor
impl Sync for MTLAccelerationStructureMotionInstanceDescriptor
impl Unpin for MTLAccelerationStructureMotionInstanceDescriptor
impl UnwindSafe for MTLAccelerationStructureMotionInstanceDescriptor
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.