Contents

init(unsafeBuffer:)

Initialize a mutable pixel buffer by transferring existing CVPixelBuffer value.

Declaration

init(unsafeBuffer: sending CVPixelBuffer)

Parameters

  • unsafeBuffer:

    Owership of this buffer is transferred to the new instance. This buffer is not copied and must not be modified after this call.