§ GetColor()
DWORD CharTextureComponent::GetColor |
( |
| ) |
const |
§ GetPixels()
bool CharTextureComponent::GetPixels |
( |
byte * |
pBuffer, |
|
|
int * |
nWidth, |
|
|
int * |
nHeight |
|
) |
| |
copy the texture to memory in RAW RGBA(32bits) format.
- Parameters
-
pBuffer | byte[width*height*4] |
nWidth | [out] width of the texture in pixels |
nHeight | [out] height of the texture in pixels |
- Returns
- : return true if succeed, false otherwise
The documentation for this struct was generated from the following files:
- Client/trunk/ParaEngineClient/3dengine/CustomCharCommon.h
- Client/trunk/ParaEngineClient/3dengine/CustomCharCommon.cpp