OpenGL-utility/include/shader.hpp
2021-01-20 00:18:31 +01:00

22 lines
343 B
C++

#ifndef SHADER_HPP
#define SHADER_HPP
#include <core.hpp>
#include <glad/glad.h>
namespace oglu
{
class OGLU_API Shader
{
public:
Shader(const char* vertexShaderFile, const char* fragmentShaderFile);
private:
void LoadShaderSource(const char* filename, char** buffer);
private:
GLuint vertexShader, fragmentShader;
};
}
#endif