Plasma Engine  2.0
Loading...
Searching...
No Matches
Color16f_inl.h
1
3
5 : r(r)
6 , g(g)
7 , b(b)
8 , a(a)
9{
10}
11
13 : r(color.r)
14 , g(color.g)
15 , b(color.b)
16 , a(color.a)
17{
18}
19
21{
22 return plColor(static_cast<float>(r), static_cast<float>(g), static_cast<float>(b), static_cast<float>(a));
23}
plColor represents an RGBA color in linear color space. Values are stored as float,...
Definition Color.h:44
plColorLinear16f()
default-constructed color is uninitialized (for speed)
plColor ToLinearFloat() const
Conversion to plColor.
Definition Color16f_inl.h:20
A 16 bit IEEE float class. Often called "half".
Definition Float16.h:11