Contents

constantValues

Values for the function constant inputs declared in shaderNodeGraph.

Declaration

var constantValues: MTLFunctionConstantValues

Discussion

Function constants are compiled directly into the shader and cannot be changed after the program is created.

See Also

Specifying the shader graph