|
The Game Engine
1
|
This is a Container for handling a texture where when nothing else uses it it shall be deleted. More...
#include <Texture.h>
Public Member Functions | |
| Texture () | |
Public Attributes | |
| GLuint | image |
| Texture Name. More... | |
| unsigned int | count |
| Number of objects using this Texture. More... | |
This is a Container for handling a texture where when nothing else uses it it shall be deleted.
This class is tasked with the following:
- Maintaining a singleton reference to a Texture
- Maintaining a count of the number of objects using the texture
| unsigned int Texture::count |