import
Returns a color buffer that samples plane of ioSurface, an IOSurfaceRef.
Supported are BGRA IOSurfaces, and the luma (plane 0) and chroma (plane 1) planes of NV12 and P010 IOSurfaces. Luma planes are imported with ColorFormat.R, chroma planes with ColorFormat.RG.
The importer owns the color buffer and returns the same color buffer for the same plane. The contents of the color buffer are the current contents of the plane.
Return
the color buffer, or null when the plane can not be imported