My Project
|
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... | |
![]() | |
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... | |
|
virtual |
Decompress is called by one of the processing threads to decompress the data.
Implements ParaEngine::IDataLoader.
|
virtual |
Destroy is called by the graphics thread when it has consumed the data, unless IsDeviceObject() is false.
Implements ParaEngine::IDataLoader.
|
virtual |
Load is called from the IO thread to load data.
Implements ParaEngine::IDataLoader.