semantic
The semantic meaning for the material property’s value.
Declaration
var semantic: MDLMaterialSemantic { get set }Discussion
A material semantic determines how the material property’s value should be interpreted to produce a specific surface appearance in rendering. For example, the MDLMaterialSemantic.baseColor semantic defines the default color of each pixel on a rendered surface before shading effects are applied.
When Model I/O loads materials from an MDLAsset object, it automatically selects the appropriate standard semantics for the surface rendering descriptions in the asset file.