Retrait d'instances de mc"clone"

This commit is contained in:
Marc-Eric Martel
2021-09-27 11:30:18 -04:00
parent 2324ef071b
commit 7bdc366edd
179 changed files with 75 additions and 63 deletions

23
SQCSim2021/texture.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef TEXTURE_H__
#define TEXTURE_H__
#include "define.h"
#include <IL/il.h>
#include <string>
class Texture
{
public:
Texture(const std::string& filename = "");
~Texture();
bool Load(const std::string& filename);
bool IsValid() const;
void Bind() const;
private:
GLuint m_textureId;
bool m_isValid;
};
#endif // TEXTURE_H__