Detailed Description
High Dynamic Range bitmaps make use of this class to store color
information using floating point values.
- See also:
- Class Bitmap, Class
BitmapStorage,
Class BitmapManager, Working with
Bitmaps.
#include <maxtypes.h>
List of all
members.
Constructor & Destructor Documentation
BMM_Color_fl |
( |
float |
vr = 0.0f , |
|
|
float |
vg = 0.0f , |
|
|
float |
vb = 0.0f , |
|
|
float |
va = 0.0f |
|
) |
|
[inline] |
: r(vr), g(vg), b(vb), a(va) {}
Member Function Documentation
operator float * |
( |
|
) |
[inline] |
operator const float * |
( |
|
) |
const [inline] |
static WORD clipColor |
( |
float |
c |
) |
[inline, static] |
{
return c <= 0.0f ? 0 : c >= 1.0f ? 65535 : (WORD)(c * 65535.0);
}
Member Data Documentation
Storage for the floating point color information.