<!--
{
  "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/MTL4AccelerationStructureMotionTriangleGeometryDescriptor/transformationMatrixBuffer",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTL4AccelerationStructureMotionTriangleGeometryDescriptor(py)transformationMatrixBuffer"
  },
  "title" : "transformationMatrixBuffer"
}
-->

# transformationMatrixBuffer

Assings an optional reference to a buffer containing a `float4x3` transformation matrix.

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

## Discussion

When the buffer address is non-zero, Metal applies this transform to the vertex data positions when building
the acceleration structure. All keyframes share the same transformation matrix.

Building an acceleration structure with a descriptor that specifies this property doesn’t modify the contents of
the input `vertexBuffer`.

---

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)