// // renderer_impl.hpp // graphics // // Created by Sam Jaffe on 5/20/19. // Copyright © 2019 Sam Jaffe. All rights reserved. // #pragma once #include "game/graphics/graphics_fwd.h" #include "game/graphics/renderer.hpp" #include "game/math/math_fwd.hpp" namespace graphics { template renderer_impl * get_renderer_impl(); struct renderer_impl { virtual ~renderer_impl() {} virtual std::shared_ptr manager() const = 0; virtual void draw(identity, math::matr4 const &, std::vector const &) = 0; virtual void clear() = 0; virtual void flush() = 0; }; }