<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelMaterialResource/ShaderGraphOutput",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer24LowLevelMaterialResourceC17ShaderGraphOutputV"
  },
  "title" : "LowLevelMaterialResource.ShaderGraphOutput"
}
-->

# LowLevelMaterialResource.ShaderGraphOutput

The compiled Metal shader functions derived from a ShaderGraph.

```
struct ShaderGraphOutput
```

## Overview

Obtain a `ShaderGraphOutput` by calling
[`makeShaderGraphFunctions(shaderGraph:constantValues:)`](/documentation/RealityKit/LowLevelRenderContextShaderGraph/makeShaderGraphFunctions(shaderGraph:constantValues:))
on [`shaderGraph`](/documentation/RealityKit/LowLevelRenderContext/shaderGraph).

## Topics

### Specifying the shaders

[`var surfaceShader: LowLevelMaterialResource.SurfaceShader`](/documentation/RealityKit/LowLevelMaterialResource/ShaderGraphOutput/surfaceShader)

The compiled surface shader.

[`var geometryModifier: LowLevelMaterialResource.GeometryModifier?`](/documentation/RealityKit/LowLevelMaterialResource/ShaderGraphOutput/geometryModifier)

The compiled geometry modifier, or `nil` if the ShaderGraph does not include one.

### Configuring blending

[`var blending: LowLevelMaterialResource.ShaderGraphOutput.Blending`](/documentation/RealityKit/LowLevelMaterialResource/ShaderGraphOutput/blending-swift.property)

The blending mode derived from the ShaderGraph material.

[`enum Blending`](/documentation/RealityKit/LowLevelMaterialResource/ShaderGraphOutput/Blending-swift.enum)

Indicates the blending mode of the ShaderGraph material.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)