A bitmask that restricts which color channels are written into the texture.
- iOS 8.0+
- macOS 10.11+
- tvOS 9.0+
The default value of
write is all ones,
all, which allows all color channels to be blended. The
MTLColor limit blending to one color channel, and these values can be bitwise combined.
MTLColor does not allow any color channels to be blended.