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
real alphaFP(Colour colour)
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
auto asLinearRGB(Format colour)
Undocumented in source. Be warned that the author may not have intended to support it.
blueFP
real blueFP(Colour colour)
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
real greenFP(Colour colour)
Undocumented in source. Be warned that the author may not have intended to support it.
read
T read(ubyte[] input)
Undocumented in source.
redFP
real redFP(Colour colour)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

colourConstructors
mixintemplate colourConstructors()
Undocumented in source.

Meta