Skip to content

Commit df7e071

Browse files
FlannyHgrovesNL
authored andcommitted
Add set_bounding_box_stride and set_bounding_box_buffer_offset to AccelerationStructureBoundingBoxGeometryDescriptor`
1 parent 8e92adc commit df7e071

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/accelerator_structure.rs

+8
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,14 @@ impl AccelerationStructureBoundingBoxGeometryDescriptorRef {
228228
pub fn set_bounding_box_count(&self, count: NSUInteger) {
229229
unsafe { msg_send![self, setBoundingBoxCount: count] }
230230
}
231+
232+
pub fn set_bounding_box_stride(&self, stride: NSUInteger) {
233+
unsafe { msg_send![self, setBoundingBoxStride: stride] }
234+
}
235+
236+
pub fn set_bounding_box_buffer_offset(&self, offset: NSUInteger) {
237+
unsafe { msg_send![self, setBoundingBoxBufferOffset: offset] }
238+
}
231239
}
232240

233241
pub enum MTLInstanceAccelerationStructureDescriptor {}

0 commit comments

Comments
 (0)