added the readme
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
|
||||
#ifndef TEXTURE_CLASS_H
|
||||
#define TEXTURE_CLASS_H
|
||||
|
||||
#include "stb_image.h"
|
||||
#include <glad/glad.h>
|
||||
|
||||
#include "shaderClass.h"
|
||||
|
||||
class Texture {
|
||||
public:
|
||||
GLuint ID;
|
||||
std::string path;
|
||||
Texture(const char* filename);
|
||||
void texUnit(Shader shader, const char* uniform, GLuint unit);
|
||||
void Bind();
|
||||
void Unbind();
|
||||
void Delete();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user