pub struct AccelerationStructureMotionBoundingBoxGeometryDescriptor(/* private fields */);Expand description
Descriptor for motion bounding box geometry in an acceleration structure.
C++ equivalent: MTL4::AccelerationStructureMotionBoundingBoxGeometryDescriptor
Implementations§
Source§impl AccelerationStructureMotionBoundingBoxGeometryDescriptor
impl AccelerationStructureMotionBoundingBoxGeometryDescriptor
Sourcepub fn bounding_box_buffers(&self) -> BufferRange
pub fn bounding_box_buffers(&self) -> BufferRange
Get the bounding box buffers (for motion keyframes).
Sourcepub fn set_bounding_box_buffers(&self, buffers: BufferRange)
pub fn set_bounding_box_buffers(&self, buffers: BufferRange)
Set the bounding box buffers (for motion keyframes).
Sourcepub fn bounding_box_count(&self) -> UInteger
pub fn bounding_box_count(&self) -> UInteger
Get the bounding box count.
Sourcepub fn set_bounding_box_count(&self, count: UInteger)
pub fn set_bounding_box_count(&self, count: UInteger)
Set the bounding box count.
Sourcepub fn bounding_box_stride(&self) -> UInteger
pub fn bounding_box_stride(&self) -> UInteger
Get the bounding box stride.
Sourcepub fn set_bounding_box_stride(&self, stride: UInteger)
pub fn set_bounding_box_stride(&self, stride: UInteger)
Set the bounding box stride.
Trait Implementations§
Source§impl Referencing for AccelerationStructureMotionBoundingBoxGeometryDescriptor
impl Referencing for AccelerationStructureMotionBoundingBoxGeometryDescriptor
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 AccelerationStructureMotionBoundingBoxGeometryDescriptor
impl Sync for AccelerationStructureMotionBoundingBoxGeometryDescriptor
Auto Trait Implementations§
impl Freeze for AccelerationStructureMotionBoundingBoxGeometryDescriptor
impl RefUnwindSafe for AccelerationStructureMotionBoundingBoxGeometryDescriptor
impl Unpin for AccelerationStructureMotionBoundingBoxGeometryDescriptor
impl UnwindSafe for AccelerationStructureMotionBoundingBoxGeometryDescriptor
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