Files
axyz/include/Engine/Rendering/Texture.h
T
2015-12-11 16:53:51 +01:00

25 lines
322 B
C++

#ifndef Texture_h__
#define Texture_h__
#include "../OpenGL.h"
#include "BaseTexture.h"
#include "PNG.h"
class Texture : public BaseTexture
{
friend class ResourceManager;
private:
Texture(std::string path);
public:
~Texture();
void Bind(GLenum textureUnit = GL_TEXTURE0);
GLuint m_Texture = 0;
};
#endif