---
title: "withTransforms(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/lowlevelinstancedata/withtransforms(_:)"
---

# withTransforms(_:)

Reads the per instance transform data synchronously on the CPU.

## Declaration

```swift
final func withTransforms(_ callback: (UnsafeBufferPointer<float4x4>) -> Void)
```

## Discussion

Discussion The transform buffer provided is only valid for the lifetime of the callback.
