Contents

constantValues

Values for the function constant inputs declared in Shadergraph.

Declaration

var constantValues: MTLFunctionConstantValues

Discussion

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

See Also

Configuring the shader program