accessUnsafeMutableRawPlaneBytes(_:)

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

Declaration

mutating func accessUnsafeMutableRawPlaneBytes<R>(_ block: ([(properties: CVPixelBufferPlaneProperties, bytes: UnsafeMutableRawBufferPointer)]) throws -> sending  R) rethrows -> sending R