pub struct AccelerationStructureDescriptor(/* private fields */);Expand description
Base descriptor for creating an acceleration structure.
C++ equivalent: MTL4::AccelerationStructureDescriptor
Implementations§
Trait Implementations§
Source§impl Referencing for AccelerationStructureDescriptor
impl Referencing for AccelerationStructureDescriptor
Source§fn as_mut_ptr(&self) -> *mut c_void
fn as_mut_ptr(&self) -> *mut c_void
Get the raw mutable pointer to the Objective-C object.
Source§fn retain(&self) -> Selfwhere
Self: Clone,
fn retain(&self) -> Selfwhere
Self: Clone,
Retain the object, incrementing its reference count. Read more
Source§fn autorelease(&self) -> Selfwhere
Self: Clone,
fn autorelease(&self) -> Selfwhere
Self: Clone,
Autorelease the object. Read more
Source§fn retain_count(&self) -> usize
fn retain_count(&self) -> usize
Get the retain count of the object. Read more
impl Send for AccelerationStructureDescriptor
impl Sync for AccelerationStructureDescriptor
Auto Trait Implementations§
impl Freeze for AccelerationStructureDescriptor
impl RefUnwindSafe for AccelerationStructureDescriptor
impl Unpin for AccelerationStructureDescriptor
impl UnwindSafe for AccelerationStructureDescriptor
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