MTLClearColorMake(_:_:_:_:)
Returns a color value used to clear a color attachment.
Declaration
func MTLClearColorMake(_ red: Double, _ green: Double, _ blue: Double, _ alpha: Double) -> MTLClearColorParameters
- red:
The red color channel.
- green:
The green color channel.
- blue:
The blue color channel.
- alpha:
The alpha channel.
Return Value
A value for clearing a color attachment.