---
title: maxMotionTransformCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4indirectinstanceaccelerationstructuredescriptor/maxmotiontransformcount
---

# maxMotionTransformCount

Controls the maximum number of motion transforms in the motion transform buffer.

## Declaration

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

## Discussion

Discussion You are responsible for ensuring that final number of motion transforms at build time that the buffer motionTransformCountBuffer references is less than or equal to this number.
