distortionTexture
A distortion field texture that the frame interpolator uses to correct barrel distortion.
Declaration
var distortionTexture: (any MTLTexture)? { get set }Discussion
Assign a texture containing a distortion field to this property to enable barrel distortion correction during frame interpolation. The distortion field describes how to remap pixels to correct lens distortion artifacts common in VR or wide-angle camera applications.
You are responsible for providing a texture that matches the output dimensions of the frame interpolator.