XII Release 0.1.0
Loading...
Searching...
No Matches
xiiColorLinear16f Class Reference

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

Public Attributes

xiiFloat16 r
 
xiiFloat16 g
 
xiiFloat16 b
 
xiiFloat16 a
 

Detailed Description

A 16bit per channel float color storage format.

For any calculations or conversions use xiiColor.

See also
xiiColor

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