Color.toGrayscaleFloat

Converts the color to black and white.

struct Color(T)
@safe nothrow pure inout
float
toGrayscaleFloat
()
if (
isIntegral!T ||
isFloatingPoint!T
)

Meta