Structure BMM_Color_fl

3DS Max Plug-In SDK

Structure BMM_Color_fl

See Also: Class Bitmap, Class BitmapStorage, Class BitmapManager, Working With Bitmaps.

Description:

This structure is available in release 4.0 and later only.

The High Dynamic Range bitmaps introduced in R4 make use of this class to store color information using floating point values.

typedef struct {

float r,g,b,a;

Storage for the floating point color information.

 

Prototype:

operator float*();

Remarks:

Returns the address of the floating point values.

Prototype:

operator const float*() const;

Remarks:

Returns the address of the floating point values.

Prototype:

static WORD clipColor(float c);

Remarks:

Returns the specified color c clipped (limited to) the range 0 to 65535.

} BMM_Color_fl;