---
title: "vImageConverter_GetSourceBufferOrder(_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/vimageconverter_getsourcebufferorder(_:)"
---

# vImageConverter_GetSourceBufferOrder(_:)

Returns a list of vImage source buffer channel names, specifying the order of planes.

## Declaration

```swift
func vImageConverter_GetSourceBufferOrder(_ converter: vImageConverter) -> UnsafePointer<vImageBufferTypeCode>!
```

## Parameters

- `converter`: A valid doc://com.apple.accelerate/documentation/Accelerate/vImageConverter instance to query the source buffer channel names and order of planes.

## Return Value

Return Value An array of buffer type codes (see vImage Buffer Type Codes) that ends with kvImageBufferTypeCode_EndOfList.

## Discussion

Discussion This function describes the identity of each buffer passed in the srcs parameters of vImageConvert_AnyToAny(_:_:_:_:_:), so you can order the buffers correctly. It’s provided for informational purposes, to help you configure image processing pipelines to vImage that aren’t supported through more direct means.

## See Also

### Querying a converter’s properties

- [vImageConverter_MustOperateOutOfPlace(_:_:_:_:)](accelerate/vimageconverter_mustoperateoutofplace(_:_:_:_:).md)
- [vImageConverter_GetDestinationBufferOrder(_:)](accelerate/vimageconverter_getdestinationbufferorder(_:).md)
- [vImageConverter_GetNumberOfSourceBuffers(_:)](accelerate/vimageconverter_getnumberofsourcebuffers(_:).md)
- [vImageConverter_GetNumberOfDestinationBuffers(_:)](accelerate/vimageconverter_getnumberofdestinationbuffers(_:).md)
