diff --git a/src/accelerator_structure.rs b/src/accelerator_structure.rs index 2a437b4..a0c0c70 100644 --- a/src/accelerator_structure.rs +++ b/src/accelerator_structure.rs @@ -222,6 +222,14 @@ impl AccelerationStructureBoundingBoxGeometryDescriptorRef { pub fn set_bounding_box_count(&self, count: NSUInteger) { unsafe { msg_send![self, setBoundingBoxCount: count] } } + + pub fn set_bounding_box_stride(&self, stride: NSUInteger) { + unsafe { msg_send![self, setBoundingBoxStride: stride] } + } + + pub fn set_bounding_box_buffer_offset(&self, offset: NSUInteger) { + unsafe { msg_send![self, setBoundingBoxBufferOffset: offset] } + } } pub enum MTLInstanceAccelerationStructureDescriptor {}