1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#pragma once #include <string> #include <glad/glad.h> namespace gfx { class Shader { GLuint _shader_id; public: Shader(const std::string& text, int type); Shader(const Shader&& other) = delete; Shader(Shader&& other); ~Shader(); GLuint shader_id(); }; }