---
title: motionTransformCountBuffer
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4indirectinstanceaccelerationstructuredescriptor/motiontransformcountbuffer
---

# motionTransformCountBuffer

Associates a buffer reference containing the number of motion transforms in the motion transform buffer, formatted as a 32-bit unsigned integer.

## Declaration

```swift
var motionTransformCountBuffer: MTL4BufferRange { get set }
```

## Discussion

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