Skip to main content
API Reference NSDK NSDKFrameData

withUnsafeCFrameData

Calls the given closure with a pointer to a valid ARDK_FrameData whose...

Declaration

func withUnsafeCFrameData<T>(_ body: (UnsafePointer<ARDK_FrameData>) throws -> T) rethrows -> T

Summary

Calls the given closure with a pointer to a valid ARDK_FrameData whose
camera and depth frame arrays are backed by storage that remains valid for the
duration of the call