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])Creates a new shader from a function and the uniform argument values to bind to the function.
init(function: ShaderFunction, arguments: [Shader.Argument])