<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelRenderContextStandalone/makeShaderGraphFunctions(shaderGraph:constantValues:)-u2z2",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer31LowLevelRenderContextStandaloneC24makeShaderGraphFunctions06shaderK014constantValuesAA0dE16MaterialResourceC0jK6OutputV0jK0AKC_So019MTLFunctionConstantO0CtKF"
  },
  "title" : "makeShaderGraphFunctions(shaderGraph:constantValues:)"
}
-->

# makeShaderGraphFunctions(shaderGraph:constantValues:)

A synchronous variant of [`makeShaderGraphFunctions(shaderGraph:constantValues:)`](/documentation/RealityKit/LowLevelRenderContextStandalone/makeShaderGraphFunctions(shaderGraph:constantValues:)-u2z2) for non-async callers.

```
final 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`](/documentation/RealityKit/LowLevelMaterialResource).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)