#pragma once #include #include "ShaderProgram.h" #include "Renderable.h" template class Batch { public: Batch(ShaderProgram* p_shader_program, const std::vector*>& p_renderables); virtual void init() = 0; // Maybe make this automatic? Or in the constructor? virtual void render() = 0; private: ShaderProgram* m_p_shader_program; std::vector*> m_p_renderables; };