makeArgumentEncoder(arguments:)
Creates a new argument encoder for an array of arguments.
Declaration
func makeArgumentEncoder(arguments: [MTLArgumentDescriptor]) -> (any MTLArgumentEncoder)?Parameters
- arguments:
An array of Mtlargumentdescriptor instances that you need to sort by their Index properties in monotonically increasing order.