#pragma once #include "stdafx.h" #include #include "ShaderProgram.h" template class Batch { public: void init() { populate_vbos(); setup_vao(); } virtual void render() const = 0; protected: virtual void populate_vbos() = 0; virtual void setup_vao() = 0; };