<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLAccelerationStructureBoundingBoxGeometryDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLAccelerationStructureBoundingBoxGeometryDescriptor"
  },
  "title" : "MTLAccelerationStructureBoundingBoxGeometryDescriptor"
}
-->

# MTLAccelerationStructureBoundingBoxGeometryDescriptor

A description of a list of bounding boxes to turn into an acceleration structure.

```
class MTLAccelerationStructureBoundingBoxGeometryDescriptor
```

## Topics

### Creating a bounding box geometry descriptor

[`descriptor`](/documentation/Metal/MTLAccelerationStructureBoundingBoxGeometryDescriptor/descriptor)

Creates a new bounding box descriptor.

### Specifying the number of bounding boxes

[`boundingBoxCount`](/documentation/Metal/MTLAccelerationStructureBoundingBoxGeometryDescriptor/boundingBoxCount)

The number of bounding boxes in the bounding box buffer.

### Specifying bounding boxes data

[`boundingBoxBuffer`](/documentation/Metal/MTLAccelerationStructureBoundingBoxGeometryDescriptor/boundingBoxBuffer)

A buffer that contains an array of bounding box structures.

[`boundingBoxBufferOffset`](/documentation/Metal/MTLAccelerationStructureBoundingBoxGeometryDescriptor/boundingBoxBufferOffset)

The offset, in bytes, to the first bounding box in the buffer.

[`boundingBoxStride`](/documentation/Metal/MTLAccelerationStructureBoundingBoxGeometryDescriptor/boundingBoxStride)

The stride, in bytes, between bounding boxes in the buffer.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)