type
The argument’s resource type.
Declaration
var type: MTLArgumentType { get }Discussion
This property indicates which type of resource is used (buffer, texture, sampler, or threadgroup memory) in the shading language code. For information on possible values, see MTLArgumentType.