#pragma once #include "stdafx.h" #include 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; };