20 lines
287 B
C++
20 lines
287 B
C++
#pragma once
|
|
#include <GL/glew.h>
|
|
#include <string>
|
|
#include <map>
|
|
#include "imgui/stb_image.h"
|
|
|
|
class Texture
|
|
{
|
|
public:
|
|
GLuint tex_ref;
|
|
|
|
Texture(std::string file_name, GLuint enum_rgb);
|
|
Texture(const Texture &other);
|
|
Texture() {};
|
|
~Texture();
|
|
|
|
void sendUniform(GLuint uni);
|
|
};
|
|
|