The scalar floating-point value for the material property.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- Model I/O
Scalar values are appropriate for some semantics, such as the
MDLMaterial semantic (which controls the balance between material and light colors in specular highlighting). Providing a float value for the material property applies that value for all pixels rendered using the material; to provide variation in the semantic’s value across a surface, use a grayscale texture image instead.