HatchitGraphics
ht_glrenderer.h
1 
24 #include <ht_platform.h>
25 #include <ht_renderer.h>
26 #include <ht_gl.h>
27 
28 namespace Hatchit {
29 
30  namespace Graphics {
31 
32  namespace OpenGL {
33 
34  class HT_API GLRenderer : public IRenderer
35  {
36  public:
37  GLRenderer();
38 
39  ~GLRenderer();
40 
41  bool VInitialize(const RendererParams& params) override;
42 
43  void VDeInitialize() override;
44 
45  void VResizeBuffers(uint32_t width, uint32_t height) override;
46 
47  void VSetClearColor(const Color& color) override;
48 
49  void VClearBuffer(ClearArgs args) override;
50 
51  void VPresent() override;
52 
53  void VRender(float dt) override;
54 
55  private:
56  RendererParams m_params;
57  };
58 
59  }
60 
61  }
62 
63 }
Definition: ht_glrenderer.h:34
Definition: ht_renderer.h:69
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_color.h:19
Color class defining a 4-component color value.
Definition: ht_color.h:26
An interface to a renderer that will need to be implemented with a graphics language.