Contents

makeMutablePixelBuffer(_:)

This function creates a new CVMutablePixelBuffer using the pixel buffer attributes specified during pool creation.

Declaration

final func makeMutablePixelBuffer(_ attributes: CVMutablePixelBuffer.Pool.AllocationAttributes = .init()) throws -> CVMutablePixelBuffer

Parameters

  • attributes:

    Attributes which control how pixel buffers are allocated

Discussion