Contents

withMutableTransforms(_:)

Updates the per instance transform data synchronously on the CPU.

Declaration

final func withMutableTransforms(_ callback: (UnsafeMutableBufferPointer<float4x4>) -> Void)

Discussion

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