Files
eiifwhrn-game-engine-edition/texture.h
T
2026-06-08 17:07:34 -04:00

22 lines
331 B
C++

#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