Contents

arguments

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

Declaration

var arguments: [MTLArgument] { get }

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
  • Metal Programming Guide