We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
set_bounding_box_stride
set_bounding_box_buffer_offset
AccelerationStructureBoundingBoxGeometryDescriptor
1 parent 8e92adc commit df7e071Copy full SHA for df7e071
src/accelerator_structure.rs
@@ -228,6 +228,14 @@ impl AccelerationStructureBoundingBoxGeometryDescriptorRef {
228
pub fn set_bounding_box_count(&self, count: NSUInteger) {
229
unsafe { msg_send![self, setBoundingBoxCount: count] }
230
}
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
239
240
241
pub enum MTLInstanceAccelerationStructureDescriptor {}
0 commit comments