|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CFastHLSModifier Class ReferenceSingleton.
More...
#include <fasthls_modifier.h>
List of all members.
Public Methods |
CRGBA | convert (uint H, uint L, uint S) |
| convert a HLS (0..255) to a RGBA. More...
|
void | convertRGBABitmap (NLMISC::CBitmap &dst, const NLMISC::CBitmap &src, uint8 dh, sint dl, sint ds) |
| convert a RGBA bitmap into another RGBA, with HLS decal (0..255, -255..+255, -255..+255). More...
|
void | convertDDSBitmap (NLMISC::CBitmap &dst, const NLMISC::CBitmap &src, uint8 dh, sint dl, sint ds) |
| convert a DDS bitmap into another DDS, with HLS decal (0..255, -255..+255, -255..+255). More...
|
uint16 | applyHLSMod (uint16 colorIn, uint8 dHue, uint dLum, uint dSat) |
| convert a uint16 color into the uint16 with HLS decal. More...
|
Static Public Methods |
CFastHLSModifier & | getInstance () |
| get the singleton. More...
|
Private Types |
enum | { HueTableSize = 256
} |
Private Methods |
| CFastHLSModifier () |
| Constructor. More...
|
void | convertDDSBitmapDXTC1Or1A (NLMISC::CBitmap &dst, const NLMISC::CBitmap &src, uint8 dh, uint dLum, uint dSat) |
void | convertDDSBitmapDXTC3Or5 (NLMISC::CBitmap &dst, const NLMISC::CBitmap &src, uint8 dh, uint dLum, uint dSat) |
Private Attributes |
CRGBA | _HueTable [HueTableSize] |
CHLSA | _Color16ToHLS [65536] |
Static Private Attributes |
CFastHLSModifier * | _Instance = NULL |
Detailed Description
Singleton.
allow to apply HLS coloring as fast as possible (MMX...). -
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2002
Definition at line 49 of file fasthls_modifier.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
NL3D::CFastHLSModifier::CFastHLSModifier |
( |
|
) |
[private] |
|
Member Function Documentation
CRGBA NL3D::CFastHLSModifier::convert |
( |
uint |
H, |
|
|
uint |
L, |
|
|
uint |
S |
|
) |
|
|
CFastHLSModifier & NL3D::CFastHLSModifier::getInstance |
( |
|
) |
[static] |
|
Member Data Documentation
CHLSA NL3D::CFastHLSModifier::_Color16ToHLS[65536] [private]
|
|
CRGBA NL3D::CFastHLSModifier::_HueTable[HueTableSize] [private]
|
|
CFastHLSModifier * NL3D::CFastHLSModifier::_Instance = NULL [static, private]
|
|
The documentation for this class was generated from the following files:
|
|