constantValues
The set of constant values assigned to the function constants.
Declaration
@NSCopying var constantValues: MTLFunctionConstantValues? { get set }Discussion
The default value is nil. If you are creating a function object for a specialized function, you need to provide an array of valid constant values for all required function constants.