Inheritance diagram for NL3D::CAsyncTextureManager::CTextureEntry:
Public Member Functions | |
void | createCoarseBitmap () |
CTextureEntry () | |
bool | isTextureEntry () const |
Data Fields | |
uint | BaseSize |
bool | BuildFromHLSManager |
bool | CanHaveLOD |
NLMISC::CBitmap | CoarseBitmap |
CTextureLod | HDLod |
sint | HLSManagerTextId |
std::vector< CMeshBaseInstance * > | Instances |
ItTextureEntryMap | ItMap |
bool | Loaded |
float | MinDistance |
NLMISC::CVector | MinPosition |
NLMISC::CSmartPtr< CTextureFile > | Texture |
uint | TotalTextureSizeAsked |
bool | UpLoaded |
Protected Attributes | |
bool | IsTextureEntry |
|
Definition at line 44 of file async_texture_manager.cpp. References BaseSize, BuildFromHLSManager, CanHaveLOD, HLSManagerTextId, and TotalTextureSizeAsked.
00045 { 00046 IsTextureEntry= true; 00047 00048 Loaded= false; 00049 UpLoaded= false; 00050 CanHaveLOD= false; 00051 BuildFromHLSManager= false; 00052 HLSManagerTextId= -1; 00053 BaseSize= 0; 00054 TotalTextureSizeAsked= 0; 00055 } |
|
Definition at line 59 of file async_texture_manager.cpp. References CoarseBitmap, NLMISC::CBitmap::convertToType(), nlassert, and NLMISC::CBitmap::releaseMipMaps(). Referenced by NL3D::CAsyncTextureManager::update().
00060 { 00061 // the texture must exist. 00062 nlassert(Texture); 00063 nlassert(Texture->getSize()>0); 00064 00065 // copy the bitmap. 00066 CoarseBitmap= *Texture; 00067 // remove all mipmaps, and convert to DXTC1 (if possible, ie if was DXTC5 or DXTC3 as example) 00068 CoarseBitmap.releaseMipMaps(); 00069 // TODODO: consersion to DXTC1 00070 CoarseBitmap.convertToType(CBitmap::DXTC1); 00071 } |
|
Definition at line 132 of file async_texture_manager.h. References NL3D::CAsyncTextureManager::CTextureBase::IsTextureEntry. Referenced by NL3D::CAsyncTextureManager::update().
00132 {return IsTextureEntry;} |
|
Definition at line 189 of file async_texture_manager.h. Referenced by CTextureEntry(), NL3D::CAsyncTextureManager::update(), and NL3D::CAsyncTextureManager::updateTextureLodSystem(). |
|
Definition at line 184 of file async_texture_manager.h. Referenced by CTextureEntry(), and NL3D::CAsyncTextureManager::getNextTextureToUpLoad(). |
|
Definition at line 182 of file async_texture_manager.h. Referenced by CTextureEntry(), NL3D::CAsyncTextureManager::update(), and NL3D::CAsyncTextureManager::updateTextureLodSystem(). |
|
Definition at line 203 of file async_texture_manager.h. Referenced by createCoarseBitmap(), and NL3D::CAsyncTextureManager::getCoarseBitmap(). |
|
Definition at line 200 of file async_texture_manager.h. Referenced by NL3D::CAsyncTextureManager::deleteTexture(), NL3D::CAsyncTextureManager::update(), and NL3D::CAsyncTextureManager::updateTextureLodSystem(). |
|
Definition at line 186 of file async_texture_manager.h. Referenced by CTextureEntry(), and NL3D::CAsyncTextureManager::getNextTextureToUpLoad(). |
|
|
Definition at line 134 of file async_texture_manager.h. Referenced by NL3D::CAsyncTextureManager::CTextureBase::isTextureEntry(). |
|
Definition at line 176 of file async_texture_manager.h. Referenced by NL3D::CAsyncTextureManager::deleteTexture(). |
|
Definition at line 178 of file async_texture_manager.h. Referenced by NL3D::CAsyncTextureManager::deleteTexture(), and NL3D::CAsyncTextureManager::getNextTextureToUpLoad(). |
|
Definition at line 193 of file async_texture_manager.h. Referenced by NL3D::CAsyncTextureManager::updateTextureLodSystem(). |
|
Definition at line 195 of file async_texture_manager.h. Referenced by NL3D::CAsyncTextureManager::updateTextureLodSystem(). |
|
|
Definition at line 197 of file async_texture_manager.h. Referenced by CTextureEntry(), NL3D::CAsyncTextureManager::deleteTexture(), and NL3D::CAsyncTextureManager::update(). |
|