Vis 2
Kinetic Visualization for 3D shape and structure
 All Classes Namespaces Functions Pages
IRenderer.h
1 #pragma once
2 
3 #include "IRenderable.h"
4 #include <string>
5 #include <vector>
6 
10 class IRenderer
11 {
12 public:
13  virtual ~IRenderer(){};
14  virtual void initialize() = 0;
15  virtual void render() = 0;
16  virtual void bindResources() = 0;
17  virtual void unbindResources() = 0;
18 
19 
20  std::string _rendererType;
21  std::string _name;
22 
23  void addRenderable(IRenderable* r);
24  void clearRenderables();
25  int size();
26 
27 protected:
28  std::vector<IRenderable*> _renderables;
29 
30 
31 };
32 
Definition: IRenderer.h:10
Definition: IRenderable.h:11