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 -> CVMutablePixelBufferParameters
- attributes:
Attributes which control how pixel buffers are allocated
Discussion
Returns A new mutable pixel buffer created with creationAttributes passed to init(pixelBufferAttributes:configuration:)