#pragma once #include class Shader { public: Shader(); Shader(const std::string& vertexShaderSourceCode, const std::string& fragmentShaderSourceCode); void SetMatrix(const std::string& name, const float* data); void Bind(); private: void CreateProgram(const std::string& vertexShaderSourceCode, const std::string& fragmentShaderSourceCode); private: unsigned int program; };