---
title: MPSTriangleAccelerationStructure
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpstriangleaccelerationstructure
---

# MPSTriangleAccelerationStructure

An acceleration structure built over triangles.

## Declaration

```swift
class MPSTriangleAccelerationStructure
```

## Topics

### Instance Properties

- [triangleCount](metalperformanceshaders/mpstriangleaccelerationstructure/trianglecount.md)

## Relationships

### Inherits From

- [MPSPolygonAccelerationStructure](metalperformanceshaders/mpspolygonaccelerationstructure.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Ray Tracing

- [Accelerating ray tracing and motion blur using Metal](metal/accelerating-ray-tracing-and-motion-blur-using-metal.md)
- [MPSRayIntersector](metalperformanceshaders/mpsrayintersector.md)
- [MPSAccelerationStructureGroup](metalperformanceshaders/mpsaccelerationstructuregroup.md)
- [MPSInstanceAccelerationStructure](metalperformanceshaders/mpsinstanceaccelerationstructure.md)
- [MPSAccelerationStructure](metalperformanceshaders/mpsaccelerationstructure.md)
