- bytesToColor
ColourFormat bytesToColor(ubyte[] data, SupportedFormat format)
Reads and converts a colour from a raw byte array to a specified colour format.
- bytesToColors
ColourFormat[] bytesToColors(ubyte[] data, SupportedFormat format)
Undocumented in source. Be warned that the author may not have intended to support it.
- colourToBytes
ubyte[Format.sizeof] colourToBytes(Format data)
Undocumented in source. Be warned that the author may not have intended to support it.
- colourToBytes
ubyte[] colourToBytes(T red, T green, T blue, SupportedFormat format)
Undocumented in source. Be warned that the author may not have intended to support it.
- colourToBytes
ubyte[] colourToBytes(T data, SupportedFormat format)
Undocumented in source. Be warned that the author may not have intended to support it.