pub struct AccelerationStructureBoundingBoxGeometryDescriptor(/* private fields */);Expand description
Descriptor for bounding box geometry in an acceleration structure.
C++ equivalent: MTL4::AccelerationStructureBoundingBoxGeometryDescriptor
Implementations§
Source§impl AccelerationStructureBoundingBoxGeometryDescriptor
impl AccelerationStructureBoundingBoxGeometryDescriptor
Sourcepub unsafe fn from_raw(ptr: *mut c_void) -> Option<Self>
pub unsafe fn from_raw(ptr: *mut c_void) -> Option<Self>
Create an AccelerationStructureBoundingBoxGeometryDescriptor from a raw pointer.
Sourcepub fn bounding_box_buffer(&self) -> BufferRange
pub fn bounding_box_buffer(&self) -> BufferRange
Get the bounding box buffer.
C++ equivalent: BufferRange boundingBoxBuffer() const
Sourcepub fn set_bounding_box_buffer(&self, buffer: BufferRange)
pub fn set_bounding_box_buffer(&self, buffer: BufferRange)
Set the bounding box buffer.
C++ equivalent: void setBoundingBoxBuffer(const MTL4::BufferRange)
Sourcepub fn bounding_box_count(&self) -> UInteger
pub fn bounding_box_count(&self) -> UInteger
Get the bounding box count.
C++ equivalent: NS::UInteger boundingBoxCount() const
Sourcepub fn set_bounding_box_count(&self, count: UInteger)
pub fn set_bounding_box_count(&self, count: UInteger)
Set the bounding box count.
C++ equivalent: void setBoundingBoxCount(NS::UInteger)
Sourcepub fn bounding_box_stride(&self) -> UInteger
pub fn bounding_box_stride(&self) -> UInteger
Get the bounding box stride.
C++ equivalent: NS::UInteger boundingBoxStride() const
Sourcepub fn set_bounding_box_stride(&self, stride: UInteger)
pub fn set_bounding_box_stride(&self, stride: UInteger)
Set the bounding box stride.
C++ equivalent: void setBoundingBoxStride(NS::UInteger)
Trait Implementations§
Source§impl Referencing for AccelerationStructureBoundingBoxGeometryDescriptor
impl Referencing for AccelerationStructureBoundingBoxGeometryDescriptor
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 AccelerationStructureBoundingBoxGeometryDescriptor
impl Sync for AccelerationStructureBoundingBoxGeometryDescriptor
Auto Trait Implementations§
impl Freeze for AccelerationStructureBoundingBoxGeometryDescriptor
impl RefUnwindSafe for AccelerationStructureBoundingBoxGeometryDescriptor
impl Unpin for AccelerationStructureBoundingBoxGeometryDescriptor
impl UnwindSafe for AccelerationStructureBoundingBoxGeometryDescriptor
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