---
title: shaderGraph
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/portalmaterial/program-swift.struct/descriptor-swift.struct/shadergraph
---

# shaderGraph

The shader graph that describes the shading logic for this program.

## Declaration

```swift
var shaderGraph: ShaderGraph
```

## See Also

### Configuring the shader program

- [inputValues](realitykit/portalmaterial/program-swift.struct/descriptor-swift.struct/inputvalues.md)
- [constantValues](realitykit/portalmaterial/program-swift.struct/descriptor-swift.struct/constantvalues.md)
