Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
GLTexture.h
Go to the documentation of this file.
1#ifndef ULT_TEXTURE_GL_H_INCLUDED
2#define ULT_TEXTURE_GL_H_INCLUDED
3
4#include "TextureType.h"
5
6namespace Ult
7{
8
10{
11public:
12
13 GLTexture(int id, TextureType type);
14 virtual ~GLTexture();
15
16 unsigned int GetID() const { return mID; }
17 TextureType GetTextureType() const { return mType; }
18
19private:
20
21 unsigned int mID;
22 TextureType mType;
23
24 void FreeMemory();
25};
26
27} // namespace Ult
28
29#endif // ULT_TEXTURE_GL_H_INCLUDED
30
TextureType GetTextureType() const
Definition GLTexture.h:17
virtual ~GLTexture()
Definition GLTexture.cpp:12
unsigned int GetID() const
Definition GLTexture.h:16
GLTexture(int id, TextureType type)
Definition GLTexture.cpp:7
Definition Archive.h:13
TextureType
Definition TextureType.h:8