withUnsafeBackingIOSurfaceIfPresent(_:)

Access the IOSurface backing the pixel buffer if present.

Declaration

func withUnsafeBackingIOSurfaceIfPresent<R>(_ block: (IOSurface) throws -> sending  R) rethrows -> sending R?