The data type stored in the material property’s value.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- Mac Catalyst 13.0+Beta
- Model I/O
semantic value has one or more data types that are appropriate for its value. For example, the
MDLMaterial semantic provides per-pixel colors for a rendered surface, so appropriate values for that semantic include scalars (interpreted as a grayscale color), colors, texture images, or URLs that refer to texture images. The
MDLMaterial semantic provides a scale factor for the effect of ambient occlusion shading, so an appropriate value is a scalar or a grayscale image that varies that scalar value across the surface of the material.