Contents

inputTaggedPixelBufferGroupReceiverRequestingMultiPass(for:pixelBufferAttributes:)

Attaches the input to the writer and returns a tuple with an input receiver for writing tagged pixel buffers, and an associated multi pass controller.

Declaration

func inputTaggedPixelBufferGroupReceiverRequestingMultiPass(for input: AVAssetWriterInput, pixelBufferAttributes attributes: CVPixelBufferCreationAttributes?) -> sending (AVAssetWriterInput.TaggedPixelBufferGroupReceiver, AVAssetWriterInput.MultiPassController)

Parameters

  • input:

    The input to be attached to the writer.

  • attributes:

    The attributes of pixel buffers that will be vended by the input provider’s pixel buffer pool.

Return Value

A tuple with an input receiver for writing pixel buffers, and an associated multi pass controller.

See Also

Configuring input receivers