23 lines
256 B
C++
23 lines
256 B
C++
#ifndef Texture_h__
|
|
#define Texture_h__
|
|
|
|
#include <string>
|
|
|
|
#include "OpenGL.h"
|
|
#include <SOIL.h>
|
|
|
|
class Texture
|
|
{
|
|
public:
|
|
Texture(std::string path);
|
|
|
|
~Texture();
|
|
|
|
GLuint texture;
|
|
|
|
void Load(std::string path);
|
|
void Bind();
|
|
};
|
|
|
|
#endif // Texture_h__
|