---
title: "MPSGetCustomKernelBatchedDestinationIndex(_:)"
framework: metalperformanceshaders
role: symbol
role_heading: Function
path: "metalperformanceshaders/mpsgetcustomkernelbatcheddestinationindex(_:)"
---

# MPSGetCustomKernelBatchedDestinationIndex(_:)

Returns the index of the first destination texture argument.

## Declaration

```swift
func MPSGetCustomKernelBatchedDestinationIndex(_ c: MPSCustomKernelArgumentCount) -> UInt
```
