---
title: triangleCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlaccelerationstructuremotiontrianglegeometrydescriptor/trianglecount
---

# triangleCount

The number of triangles in the buffers.

## Declaration

```swift
var triangleCount: Int { get set }
```
