blob: d6d59eb8a0296d8c61cf3fb919f375e18857ee68 (
plain) (
tree)
|
|
#pragma once
#include <GL/glew.h>
class Shader
{
private:
const GLchar *vertex;
const GLchar *fragment;
public:
GLuint Program;
Shader(const GLchar* vertexPath, const GLchar* fragmentPath, const GLchar* geometryPath = nullptr);
void Use();
void Reload();
};
|