Contents

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.ShaderGraphOutput

Parameters

  • 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.

See Also

Creating shader graph functions