---
title: "inputTaggedPixelBufferGroupReceiverRequestingMultiPass(for:pixelBufferAttributes:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avassetwriter/inputtaggedpixelbuffergroupreceiverrequestingmultipass(for:pixelbufferattributes:)"
---

# 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

```swift
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

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

## See Also

### Configuring input receivers

- [inputReceiver(for:)](avfoundation/avassetwriter/inputreceiver(for:).md)
- [inputCaptionReceiver(for:)](avfoundation/avassetwriter/inputcaptionreceiver(for:).md)
- [inputCaptionReceiverRequestingMultiPass(for:)](avfoundation/avassetwriter/inputcaptionreceiverrequestingmultipass(for:).md)
- [inputMetadataReceiver(for:)](avfoundation/avassetwriter/inputmetadatareceiver(for:).md)
- [inputMetadataReceiverRequestingMultiPass(for:)](avfoundation/avassetwriter/inputmetadatareceiverrequestingmultipass(for:).md)
- [inputPixelBufferReceiver(for:pixelBufferAttributes:)](avfoundation/avassetwriter/inputpixelbufferreceiver(for:pixelbufferattributes:).md)
- [inputPixelBufferReceiverRequestingMultiPass(for:pixelBufferAttributes:)](avfoundation/avassetwriter/inputpixelbufferreceiverrequestingmultipass(for:pixelbufferattributes:).md)
- [inputReceiverRequestingMultiPass(for:)](avfoundation/avassetwriter/inputreceiverrequestingmultipass(for:).md)
- [inputTaggedPixelBufferGroupReceiver(for:pixelBufferAttributes:)](avfoundation/avassetwriter/inputtaggedpixelbuffergroupreceiver(for:pixelbufferattributes:).md)
