Plasma Engine  2.0
Loading...
Searching...
No Matches
plColorLinear16f Class Reference

A 16bit per channel float color storage format. More...

#include <Color16f.h>

Public Member Functions

 PL_DECLARE_POD_TYPE ()
 
 plColorLinear16f ()
 default-constructed color is uninitialized (for speed)
 
 plColorLinear16f (plFloat16 r, plFloat16 g, plFloat16 b, plFloat16 a)
 Initializes the color with r, g, b, a.
 
 plColorLinear16f (const plColor &color)
 Initializes the color with plColor.
 
plColor ToLinearFloat () const
 Conversion to plColor.
 
const plFloat16GetData () const
 Conversion to const plFloat16*.
 
plFloat16GetData ()
 Conversion to plFloat16* - use with care!
 

Public Attributes

plFloat16 r
 
plFloat16 g
 
plFloat16 b
 
plFloat16 a
 

Detailed Description

A 16bit per channel float color storage format.

For any calculations or conversions use plColor.

See also
plColor

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