#pragma once #include "context.hpp" #include "shader.hpp" #include namespace hpr::gpu { class ShaderProgram : Context { protected: std::array p_slots; bool p_isLinked; public: // Constructors ShaderProgram(); ShaderProgram(DeviceAPI api); virtual ~ShaderProgram(); // Member functions const Shader* getShader(Shader::ShaderType type) const; }; }