classColorBuf 02
Constructor & Destructor Documentation¶
|
Creates an instance of a ColorBuf where the initial color is black and the alpha channel is fully opaque. Definition at line 62 of file ColorBuf.h. |
|
Creates an instance of a ColorBuf. The color is copied from the col parameter. The alpha channel is fully opaque.
Definition at line 63 of file ColorBuf.h. |
|
||||||||||||||||
Creates an instance of a ColorBuf. The color channels are copied from the parameters and the alpha channel is fully opaque. Definition at line 64 of file ColorBuf.h. |
|
||||||||||||||||||||
Creates an instance of a ColorBuf. The colors and alpha channels are copied from the parameters. Definition at line 65 of file ColorBuf.h. References values. |
|
Creates an instance of a ColorBuf. The color is copied from the c parameter. The alpha channel is fully opaque.
Definition at line 66 of file ColorBuf.h. References values. |
|
Creates an instance of a ColorBuf. The colors and alpha channels are set from the color parameter which is interpreted as being normalized. That is color and alpha channel values of 1.0 is mapped to 255. Definition at line 13 of file ColorBuf.inl. References RGBAFloat::Alpha(), RGBAFloat::Blue(), fast_ftol_unsigned(), RGBAFloat::Green(), MAXCOLOR, MIN, RGBAFloat::Red(), and values. Here is the call graph for this function: |