---
title: semanticType
framework: realitykit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: realitykit/shadergraph/nodedefinition/input/semantictype
---

# semanticType

The original type of this input.

## Declaration

```swift
let semanticType: ShaderGraph.NodeDefinition.SemanticType?
```

## Discussion

Discussion Semantic types describe the type information from a standard, such as MaterialX 1.38. RealityKit converts this type information into a ShaderGraph.DataType on ShaderGraph.NodeLibrary creation, which it can use for various type checking during ShaderGraphMaterial.Program compilation.
