2 #include "IDataLoader.h" 3 #include "CustomCharFace.h" 9 class CharModelInstance;
24 std::vector <FaceTextureComponent> m_layers;
27 std::string m_sFileName;
48 HRESULT
Decompress(
void** ppData,
int* pcBytes );
70 std::string m_sFileName;
85 HRESULT LockDeviceObject();
86 HRESULT UnLockDeviceObject();
88 HRESULT Process(
void* pData,
int cBytes );
89 HRESULT CopyToResource();
90 void SetResourceError();
HRESULT CleanUp()
clean up everything
Definition: ContentLoaderCCSFace.cpp:52
HRESULT Destroy()
Destroy is called by the graphics thread when it has consumed the data.
Definition: ContentLoaderCCSFace.cpp:76
Which DXT Compression to Use? Obviously, there are some trade-offs between the different formats whic...
Definition: TextureEntity.h:29
light-weighted file record header in memory.
Definition: AssetManifest.h:10
CCCSFaceLoader(CharModelInstance *pCharModelInstance, CartoonFace &faceTexture, const char *sFileName)
Definition: ContentLoaderCCSFace.cpp:29
different physics engine has different winding order.
Definition: EventBinding.h:32
character animation instance: it includes both the animation and model display information.
Definition: CustomCharModelInstance.h:17
a very thin wrapper to DirectX device with a portable version of openGL implementation.
Definition: RenderDeviceDirectX.h:10
data structure for a cartoon face
Definition: CustomCharFace.h:75
HRESULT Decompress(void **ppData, int *pcBytes)
Decompress is called by one of the processing threads to decompress the data.
Definition: ContentLoaderCCSFace.cpp:47
IDataProcessor is an interface that the AsyncLoader class uses to process and copy data into locked r...
Definition: IDataLoader.h:76
HRESULT Load()
Load is called from the IO thread to load data.
Definition: ContentLoaderCCSFace.cpp:88
CCCSFaceProcessor implementation of IDataProcessor.
Definition: ContentLoaderCCSFace.h:64
IDataLoader is an interface that the AsyncLoader class uses to load data from disk.
Definition: IDataLoader.h:14
const char * GetFileName()
get file name
Definition: ContentLoaderCCSFace.cpp:42
HRESULT ComposeWithGDIPlus()
compose with Windows' GDIPlus engine.
Definition: ContentLoaderCCSFace.cpp:119
CCCSFaceLoader implementation of IDataLoader it will first search locally.
Definition: ContentLoaderCCSFace.h:16