#pragma once #include "stdafx.h" #include #include "Mesh.h" template class Renderable { public: typedef VertexType VertexType; typedef IndexType IndexType; typedef Mesh MeshType; virtual ~Renderable() { }; const MeshType* get_mesh() const { return m_p_mesh; } virtual void populate_vbo() const = 0; protected: const MeshType* m_p_mesh = nullptr; };