#pragma once #include #include #include #pragma comment(lib, "opengl32.lib") #include enum ShaderType { VERTEX_SHADER, FRAGMENT_SHADER }; class Shader { public: Shader(const char* source, ShaderType type); ~Shader(); GLuint get_shader() const; private: GLuint m_shader; ShaderType m_type; };