From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02232.html | 586 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 586 insertions(+) create mode 100644 docs/doxygen/nel/a02232.html (limited to 'docs/doxygen/nel/a02232.html') diff --git a/docs/doxygen/nel/a02232.html b/docs/doxygen/nel/a02232.html new file mode 100644 index 00000000..1ab3efbc --- /dev/null +++ b/docs/doxygen/nel/a02232.html @@ -0,0 +1,586 @@ + + +NeL: NL3D::CAsyncTextureManager::CTextureEntry class Reference + + + +
+

NL3D::CAsyncTextureManager::CTextureEntry Class Reference

Inheritance diagram for NL3D::CAsyncTextureManager::CTextureEntry: +

+ +NL3D::CAsyncTextureManager::CTextureBase + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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< CTextureFileTexture
uint TotalTextureSizeAsked
bool UpLoaded

Protected Attributes

bool IsTextureEntry
+

Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CAsyncTextureManager::CTextureEntry::CTextureEntry  ) 
+
+ + + + + +
+   + + +

+ +

+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 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void NL3D::CAsyncTextureManager::CTextureEntry::createCoarseBitmap  ) 
+
+ + + + + +
+   + + +

+ +

+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 }
+
+

+ + + + +
+ + + + + + + + + +
bool NL3D::CAsyncTextureManager::CTextureBase::isTextureEntry  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 132 of file async_texture_manager.h. +

+References NL3D::CAsyncTextureManager::CTextureBase::IsTextureEntry. +

+Referenced by NL3D::CAsyncTextureManager::update(). +

+

00132 {return IsTextureEntry;}
+
+


Field Documentation

+

+ + + + +
+ + +
uint NL3D::CAsyncTextureManager::CTextureEntry::BaseSize +
+
+ + + + + +
+   + + +

+ +

+Definition at line 189 of file async_texture_manager.h. +

+Referenced by CTextureEntry(), NL3D::CAsyncTextureManager::update(), and NL3D::CAsyncTextureManager::updateTextureLodSystem().

+

+ + + + +
+ + +
bool NL3D::CAsyncTextureManager::CTextureEntry::BuildFromHLSManager +
+
+ + + + + +
+   + + +

+ +

+Definition at line 184 of file async_texture_manager.h. +

+Referenced by CTextureEntry(), and NL3D::CAsyncTextureManager::getNextTextureToUpLoad().

+

+ + + + +
+ + +
bool NL3D::CAsyncTextureManager::CTextureEntry::CanHaveLOD +
+
+ + + + + +
+   + + +

+ +

+Definition at line 182 of file async_texture_manager.h. +

+Referenced by CTextureEntry(), NL3D::CAsyncTextureManager::update(), and NL3D::CAsyncTextureManager::updateTextureLodSystem().

+

+ + + + +
+ + +
NLMISC::CBitmap NL3D::CAsyncTextureManager::CTextureEntry::CoarseBitmap +
+
+ + + + + +
+   + + +

+ +

+Definition at line 203 of file async_texture_manager.h. +

+Referenced by createCoarseBitmap(), and NL3D::CAsyncTextureManager::getCoarseBitmap().

+

+ + + + +
+ + +
CTextureLod NL3D::CAsyncTextureManager::CTextureEntry::HDLod +
+
+ + + + + +
+   + + +

+ +

+Definition at line 200 of file async_texture_manager.h. +

+Referenced by NL3D::CAsyncTextureManager::deleteTexture(), NL3D::CAsyncTextureManager::update(), and NL3D::CAsyncTextureManager::updateTextureLodSystem().

+

+ + + + +
+ + +
sint NL3D::CAsyncTextureManager::CTextureEntry::HLSManagerTextId +
+
+ + + + + +
+   + + +

+ +

+Definition at line 186 of file async_texture_manager.h. +

+Referenced by CTextureEntry(), and NL3D::CAsyncTextureManager::getNextTextureToUpLoad().

+

+ + + + +
+ + +
std::vector<CMeshBaseInstance*> NL3D::CAsyncTextureManager::CTextureEntry::Instances +
+
+ + + + + +
+   + + +

+ +

+Definition at line 191 of file async_texture_manager.h. +

+Referenced by NL3D::CAsyncTextureManager::addTextureRef(), NL3D::CAsyncTextureManager::deleteTexture(), NL3D::CAsyncTextureManager::releaseTexture(), NL3D::CAsyncTextureManager::update(), and NL3D::CAsyncTextureManager::updateTextureLodSystem().

+

+ + + + +
+ + +
bool NL3D::CAsyncTextureManager::CTextureBase::IsTextureEntry [protected, inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 134 of file async_texture_manager.h. +

+Referenced by NL3D::CAsyncTextureManager::CTextureBase::isTextureEntry().

+

+ + + + +
+ + +
ItTextureEntryMap NL3D::CAsyncTextureManager::CTextureEntry::ItMap +
+
+ + + + + +
+   + + +

+ +

+Definition at line 176 of file async_texture_manager.h. +

+Referenced by NL3D::CAsyncTextureManager::deleteTexture().

+

+ + + + +
+ + +
bool NL3D::CAsyncTextureManager::CTextureEntry::Loaded +
+
+ + + + + +
+   + + +

+ +

+Definition at line 178 of file async_texture_manager.h. +

+Referenced by NL3D::CAsyncTextureManager::deleteTexture(), and NL3D::CAsyncTextureManager::getNextTextureToUpLoad().

+

+ + + + +
+ + +
float NL3D::CAsyncTextureManager::CTextureEntry::MinDistance +
+
+ + + + + +
+   + + +

+ +

+Definition at line 193 of file async_texture_manager.h. +

+Referenced by NL3D::CAsyncTextureManager::updateTextureLodSystem().

+

+ + + + +
+ + +
NLMISC::CVector NL3D::CAsyncTextureManager::CTextureEntry::MinPosition +
+
+ + + + + +
+   + + +

+ +

+Definition at line 195 of file async_texture_manager.h. +

+Referenced by NL3D::CAsyncTextureManager::updateTextureLodSystem().

+

+ + + + +
+ + +
NLMISC::CSmartPtr<CTextureFile> NL3D::CAsyncTextureManager::CTextureBase::Texture [inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 130 of file async_texture_manager.h. +

+Referenced by NL3D::CAsyncTextureManager::addTextureRef(), NL3D::CAsyncTextureManager::deleteTexture(), NL3D::CAsyncTextureManager::getNextTextureToUpLoad(), NL3D::CAsyncTextureManager::update(), and NL3D::CAsyncTextureManager::updateTextureLodSystem().

+

+ + + + +
+ + +
uint NL3D::CAsyncTextureManager::CTextureEntry::TotalTextureSizeAsked +
+
+ + + + + +
+   + + +

+ +

+Definition at line 197 of file async_texture_manager.h. +

+Referenced by CTextureEntry(), NL3D::CAsyncTextureManager::deleteTexture(), and NL3D::CAsyncTextureManager::update().

+

+ + + + +
+ + +
bool NL3D::CAsyncTextureManager::CTextureEntry::UpLoaded +
+
+ + + + + +
+   + + +

+ +

+Definition at line 180 of file async_texture_manager.h. +

+Referenced by NL3D::CAsyncTextureManager::addTextureRef(), NL3D::CAsyncTextureManager::deleteTexture(), NL3D::CAsyncTextureManager::getCoarseBitmap(), NL3D::CAsyncTextureManager::releaseTexture(), and NL3D::CAsyncTextureManager::update().

+


The documentation for this class was generated from the following files: +
Generated on Tue Mar 16 06:44:35 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1