Creates an argument encoder for an argument buffer that is one of this function's arguments.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+Beta
- tvOS 11.0+
The index of an argument buffer in the function's argument list. This method fails if the specified index does not correspond to an argument buffer.
Resources encoded into an argument buffer by the
MTLArgument object must match the structure of the argument buffer located at the specified buffer index. If you want to interpret a regular structure as an argument buffer, at least one of the members of the structure must have an