charcoal/OpenGLEngine/Shader.h
2018-10-10 17:44:15 -04:00

26 lines
291 B
C++

#pragma once
#include "deps.h"
#include <string>
namespace charcoal
{
enum ShaderType
{
VERTEX_SHADER,
FRAGMENT_SHADER
};
class Shader
{
public:
Shader(const std::string& source, ShaderType type);
~Shader();
GLuint get_shader() const;
private:
GLuint m_shader;
};
}