ezEngine  Milestone 7
ezColorLinear16f Class Reference

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 ezFloat16GetData () const
 Conversion to const ezFloat16*.
 
ezFloat16GetData ()
 Conversion to ezFloat16* - use with care!
 

Public Attributes

ezFloat16 r
 
ezFloat16 g
 
ezFloat16 b
 
ezFloat16 a
 

Detailed Description

A 16bit per channel float color storage format.

For any calculations or conversions use ezColor.

See Also
ezColor

The documentation for this class was generated from the following files: