withUnsafeCFrameData
Declaration
func withUnsafeCFrameData<T>(_ body: (UnsafePointer<ARDK_FrameData>) throws -> T) rethrows -> T
Summary
Parameters
| Name | Type | Summary |
|---|---|---|
| body | (UnsafePointer<ARDK_FrameData>) throws -> T | - |
| Name | Type | Summary |
|---|---|---|
| body | (UnsafePointer<ARDK_FrameData>) throws -> T | - |
Calls the given closure with a pointer to a valid
ARDK_FrameDatawhosecamera and depth frame arrays are backed by storage that remains valid for the
duration of the call