accessUnsafeRawPlaneBytes(_:)

Access the pixels in the planes contained within this buffer. The base address is locked for reading during the execution of the block.

Declaration

func accessUnsafeRawPlaneBytes<R>(_ block: ([(properties: CVPixelBufferPlaneProperties, bytes: UnsafeRawBufferPointer)]) throws -> sending  R) rethrows -> sending R