Color.toBytes

Returns an array of components.

struct Color(T)
@safe nothrow pure inout
T[]
toBytes
(
int format
)
()
if (
isIntegral!T ||
isFloatingPoint!T
)

Parameters

format

Pixel format.

Meta