Contents

semanticType

The original type of this output.

Declaration

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 creation, which it can use for various type checking during ShaderGraphMaterial.Program compilation.