The color to use when the color render target is cleared.
- iOS 8.0+
- macOS 10.11+
- tvOS 9.0+
load property of the render target is set to
MTLLoad, then at the start of a render pass, the contents of the texture are filled with the value stored in the
clear property. Otherwise,
clear is ignored.
clear property represents a set of RGBA components. The default value is
(0 (black). Use the
MTLClear function to construct a