A Boolean value that indicates whether or not to use the color vertex attribute when calculating the light’s interaction with the material.
- iOS 5.0–12.0Deprecated
- macOS 10.8–10.14Deprecated
- tvOS 9.0–12.0Deprecated
If the value is set to
GL, then the color attribute provided in the vertex data is used as the material’s color when performing any lighting calculations. If the value is set to
GL then the colors stored in the
material property are used to light the primitive. The default value is