My Project
Public Member Functions | List of all members
ParaEngine::CadModelLoader Class Reference
Inheritance diagram for ParaEngine::CadModelLoader:
ParaEngine::IDataLoader

Public Member Functions

 CadModelLoader (asset_ptr< CadModel > &pAsset, const char *fileName=NULL)
 
const char * GetFileName ()
 get the file name
 
HRESULT Decompress (void **ppData, int *pcBytes)
 Decompress is called by one of the processing threads to decompress the data. More...
 
HRESULT CleanUp ()
 
HRESULT Destroy ()
 Destroy is called by the graphics thread when it has consumed the data, unless IsDeviceObject() is false. More...
 
HRESULT Load ()
 Load is called from the IO thread to load data. More...
 
- Public Member Functions inherited from ParaEngine::IDataLoader
virtual const char * GetKeyName ()
 get the key name
 
virtual void SetEstimatedSizeInBytes (int nSize)
 this function is solely used in statistics reporting. More...
 
virtual int GetEstimatedSizeInBytes ()
 this function is solely used in statistics reporting. More...
 
virtual bool IsDeviceObject ()
 default to true. More...
 

Member Function Documentation

§ Decompress()

HRESULT ParaEngine::CadModelLoader::Decompress ( void **  ppData,
int *  pcBytes 
)
virtual

Decompress is called by one of the processing threads to decompress the data.

Implements ParaEngine::IDataLoader.

§ Destroy()

HRESULT ParaEngine::CadModelLoader::Destroy ( )
virtual

Destroy is called by the graphics thread when it has consumed the data, unless IsDeviceObject() is false.

Implements ParaEngine::IDataLoader.

§ Load()

HRESULT ParaEngine::CadModelLoader::Load ( )
virtual

Load is called from the IO thread to load data.

Implements ParaEngine::IDataLoader.


The documentation for this class was generated from the following files: