magicalrainbows.utils

Undocumented in source.

Members

Enums

hasAlpha
eponymoustemplate hasAlpha(T)
Undocumented in source.
hasBlue
eponymoustemplate hasBlue(T)
Undocumented in source.
hasGreen
eponymoustemplate hasGreen(T)
Undocumented in source.
hasRed
eponymoustemplate hasRed(T)
Undocumented in source.
isColourFormat
eponymoustemplate isColourFormat(T)
Undocumented in source.
isDigital
eponymoustemplate isDigital(T)
Undocumented in source.
maxAlpha
eponymoustemplate maxAlpha(T)
Undocumented in source.
maxBlue
eponymoustemplate maxBlue(T)
Undocumented in source.
maxGreen
eponymoustemplate maxGreen(T)
Undocumented in source.
maxRed
eponymoustemplate maxRed(T)
Undocumented in source.
maxValue
eponymoustemplate maxValue(ulong Bits)
Undocumented in source.

Functions

alphaFP
Precision alphaFP(Colour colour)
Undocumented in source. Be warned that the author may not have intended to support it.
alphaFP
void alphaFP(Colour colour, Precision value)
Undocumented in source. Be warned that the author may not have intended to support it.
asBytes
ubyte[T.sizeof] asBytes(T input)
Undocumented in source. Be warned that the author may not have intended to support it.
asLinearRGB
LinearFormatOf!(Format, Precision) asLinearRGB(Format colour)
Undocumented in source. Be warned that the author may not have intended to support it.
blueFP
Precision blueFP(Colour colour)
Undocumented in source. Be warned that the author may not have intended to support it.
blueFP
void blueFP(Colour colour, Precision value)
Undocumented in source. Be warned that the author may not have intended to support it.
colourConvert
T colourConvert(Source val)
Undocumented in source. Be warned that the author may not have intended to support it.
greenFP
Precision greenFP(Colour colour)
Undocumented in source. Be warned that the author may not have intended to support it.
greenFP
void greenFP(Colour colour, Precision value)
Undocumented in source. Be warned that the author may not have intended to support it.
read
T read(ubyte[] input)
Undocumented in source. Be warned that the author may not have intended to support it.
redFP
Precision redFP(Colour colour)
Undocumented in source. Be warned that the author may not have intended to support it.
redFP
void redFP(Colour colour, Precision value)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

colourConstructors
mixintemplate colourConstructors()
Undocumented in source.

Templates

LinearFormatOf
template LinearFormatOf(ColourFormat, Precision)
Undocumented in source.

Meta