|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CTileLumel Class ReferenceThis class describe an uncompressed lumel for tiles.
More...
#include <tile_lumel.h>
List of all members.
Detailed Description
This class describe an uncompressed lumel for tiles.
-
Author:
-
Cyril Corvazier , Nevrax France
-
Date:
-
2000
Definition at line 47 of file tile_lumel.h.
Member Function Documentation
void NL3D::CTileLumel::createCompressed |
( |
uint8 |
interpolated, |
|
|
uint8 |
_4bits |
|
) |
[inline] |
|
|
Create a tileLumel with precompressed data.
-
Parameters:
-
interpolated |
is the bilinear interpolated value at this lumel. |
_4bits |
is the 4 bits compressed shadow. |
Definition at line 204 of file tile_lumel.h.
References _ShadowValue, and Shaded.
Referenced by unpack. |
void NL3D::CTileLumel::createUncompressed |
( |
uint8 |
interpolated, |
|
|
uint8 |
shaded |
|
) |
|
|
|
Create a tileLumel from uncompressed data.
-
Parameters:
-
interpolated |
is the bilinear interpolated value at this lumel. |
shaded |
is the reel shading value at this lumel. |
Definition at line 37 of file tile_lumel.cpp.
References _ShadowValue, NLMISC::clamp, and Shaded. |
bool NL3D::CTileLumel::isShadowed |
( |
|
) |
const [inline] |
|
|
Is shadow are present? return true if this lumel is shadowed, else false.
-
Parameters:
-
stream |
is the bit stream used to pack the lumel. |
Definition at line 117 of file tile_lumel.h.
References _ShadowValue.
Referenced by pack. |
void NL3D::CTileLumel::pack |
( |
CStreamBit & |
stream |
) |
const |
|
void NL3D::CTileLumel::skip |
( |
CStreamBit & |
stream |
) |
[inline, static] |
|
|
Skip the lumel from a bit stream.
-
Parameters:
-
stream |
is the bit stream used to skip the lumel. |
Definition at line 240 of file tile_lumel.h. |
void NL3D::CTileLumel::unpack |
( |
CStreamBit & |
stream, |
|
|
uint8 |
interpolated |
|
) |
[inline] |
|
Member Data Documentation
uint8 NL3D::CTileLumel::_ShadowValue [private]
|
|
uint8 NL3D::CTileLumel::Shaded
|
|
The documentation for this class was generated from the following files:
|
|