Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GXTexturePrecacher.h

Go to the documentation of this file.
00001 #ifndef __GXTEXTUREPRECACHER
00002 #define __GXTEXTUREPRECACHER
00003 
00004 
00005 
00006 #include "GXStandardDefines.h"
00007 #include "GXBaseManager.h"
00008 
00009 
00010 
00011 class CGXTexturePrecacher : public CGXBaseManager
00012 {
00013 public:
00014         CGXTexturePrecacher();
00015         virtual ~CGXTexturePrecacher();
00016 
00017 
00018         inline IDirect3DTexture8* GetTexture(UINT uIndex)
00019         {
00020                 return (IDirect3DTexture8*)GetEntry(uIndex);
00021         }
00022 
00023 
00024         inline void SetColorKey(D3DCOLOR Key)//0xFFstuff, or 0 for off
00025         {
00026                 m_ColorKey=Key;
00027         }
00028 
00029 protected:
00030         virtual void*   CreateObject(char* szFilePath);
00031         virtual void    DeleteObject(void* pObject);
00032         virtual bool    InitImpl();
00033         virtual void    CleanupImpl();
00034 
00035 
00036         D3DCOLOR                m_ColorKey;
00037 };
00038 
00039 
00040 
00041 
00042 
00043 
00044 #endif

Generated on Thu May 23 17:51:00 2002 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001