00001
00002 #ifndef __OGLTEXTUREMANAGER_H_
00003 #define __OGLTEXTUREMANAGER_H_
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "..\textureManagerInterface.h"
00018
00019 #include <gl\gl.h>
00020 #include <gl\glu.h>
00021 #include <map>
00022
00030 class OGLTextureManager : public textureManagerInterface {
00031
00032 protected:
00033 std::map<int, GLuint> m_oTextures;
00036 public:
00040 OGLTextureManager();
00041
00045 ~OGLTextureManager();
00046
00056 HRESULT addTexture(std::string strFilename, const int value);
00057
00065 void setTexture(const int value);
00066
00067
00068 };
00069
00070 #endif