---
title: arguments
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlcomputepipelinereflection/arguments
---

# arguments

An array of instances that describe the arguments of a compute function.

## Declaration

```swift
var arguments: [MTLArgument] { get }
```

## Discussion

Discussion Each element in the array is an MTLArgument instance that describes one of the function’s arguments. The elements in the array are in the same order that the arguments appear in the function declaration.

## See Also

### Related Documentation

- [Metal Shading Language Guide](apple-archive/documentation/Metal/Reference/MetalShadingLanguageGuide/Introduction.md)
- [Metal Programming Guide](apple-archive/documentation/Miscellaneous/Conceptual/MetalProgrammingGuide/Introduction.md)
