withUnsafeIndices(_:)
Reads the index buffer synchronously on the CPU.
Declaration
@MainActor func withUnsafeIndices(_ callback: (UnsafeRawBufferPointer) -> Void)Discussion
The buffer is only valid for the lifetime of the callback.
Reads the index buffer synchronously on the CPU.
@MainActor func withUnsafeIndices(_ callback: (UnsafeRawBufferPointer) -> Void)The buffer is only valid for the lifetime of the callback.