Contents

init(function:arguments:)

Creates a new shader from a function and the uniform argument values to bind to the function.

Declaration

init(function: ShaderFunction, arguments: [Shader.Argument])

See Also

Creating a shader