Kinetic Visualization
 All Classes Functions Variables Pages
RendererOpenGL.h
1 #pragma once
2 #include "MyRenderer.h"
3 #include "GL\glew.h"
4 
5 class RendererOpenGL : public MyRenderer
6 {
7 public:
11  RendererOpenGL(void);
15  ~RendererOpenGL(void);
16 
20  inline virtual void ClearAccumBuffer();
24  inline virtual void ClearColorBuffer();
28  inline virtual void ClearDepthBuffer();
32  inline virtual void ClearStencilBuffer();
37  inline virtual void SetClearColor(glm::vec4 color);
41  inline virtual void SwapBuffer();
42 
46  inline virtual void GetErrors();
47 
51  inline virtual void SetFrontCulling();
55  inline virtual void SetBackCulling();
59  inline virtual void EnableBackFaceCulling();
63  inline virtual void DisableBackFaceCulling();
64 
70  inline virtual void EnableTexture(Texture::TexturePtr texture, int i);
76  inline virtual void DisableTexture(Texture::TexturePtr texture, int i);
81  virtual void LoadTexture(Texture::TexturePtr texture);
82 
83 protected:
87  void DrawVertexGeometry();
91  void DrawGeometry();
92 
93 private:
94  void DrawGeometrySpecificUniforms();
95 };
96