makeShaderGraphFunctions(shaderGraph:constantValues:)
A synchronous variant of Makeshadergraphfunctions(shadergraph:constantvalues:) 791l3 for non-async callers.
Declaration
func makeShaderGraphFunctions(shaderGraph: ShaderGraph, constantValues: MTLFunctionConstantValues) throws -> sending LowLevelMaterialResource.ShaderGraphOutputParameters
- shaderGraph:
The ShaderGraph to compile.
- constantValues:
The Metal function constant values used to specialize the compiled functions.
Return Value
The compiled functions for use in a LowLevelMaterialResource.