specializedName
A new name for the created function object.
Declaration
var specializedName: String? { get set }Discussion
The default value is nil. If you specify a value for this property, Metal creates the new MTLFunction object with the new name. Use this property if you want to specialize a function with multiple variants and give each a distinct name.