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