![]() |
XII Release 0.1.0
|
A 16bit per channel float color storage format. More...
#include <Color16f.h>
Public Member Functions | |
| XII_DECLARE_POD_TYPE () | |
| xiiColorLinear16f () | |
| default-constructed color is uninitialized (for speed) | |
| xiiColorLinear16f (xiiFloat16 r, xiiFloat16 g, xiiFloat16 b, xiiFloat16 a) | |
| Initializes the color with r, g, b, a. | |
| xiiColorLinear16f (const xiiColor &color) | |
| Initializes the color with xiiColor. | |
| xiiColor | ToLinearFloat () const |
| Conversion to xiiColor. | |
| const xiiFloat16 * | GetData () const |
| Conversion to const xiiFloat16*. | |
| xiiFloat16 * | GetData () |
| Conversion to xiiFloat16* - use with care! | |
Public Attributes | |
| xiiFloat16 | r |
| xiiFloat16 | g |
| xiiFloat16 | b |
| xiiFloat16 | a |
A 16bit per channel float color storage format.
For any calculations or conversions use xiiColor.