<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTL4IndirectInstanceAccelerationStructureDescriptor/motionTransformCountBuffer",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTL4IndirectInstanceAccelerationStructureDescriptor(py)motionTransformCountBuffer"
  },
  "title" : "motionTransformCountBuffer"
}
-->

# motionTransformCountBuffer

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

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

## 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`](/documentation/Metal/MTL4IndirectInstanceAccelerationStructureDescriptor/maxMotionTransformCount).

---

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)