<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ShaderGraph/NodeDefinition/Output/semanticType",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:11ShaderGraphAAC14NodeDefinitionV6OutputV12semanticTypeAD08SemanticG0VSgvp"
  },
  "title" : "semanticType"
}
-->

# semanticType

The original type of this output.

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

## 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`](/documentation/RealityKit/ShaderGraph/NodeLibrary) creation, which it can use
for various type checking during ShaderGraphMaterial.Program
compilation.

---

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)