Vis 2
Kinetic Visualization for 3D shape and structure
 All Classes Namespaces Functions Pages
IRenderable.h
1 #pragma once
2 
3 #include "include_opengl.h"
4 #include <string>
5 
6 class Shader;
7 
12 {
13 public:
14  virtual ~IRenderable() = 0;
15  virtual void initialize() = 0;
16  virtual void bindResources(const Shader * shader) = 0;
17  virtual void unbindResources() = 0;
18  virtual void draw() = 0;
19 
20  std::string _name;
21 protected:
22  GLenum _primitiveMode;
23 
24 };
25 
Definition: IRenderable.h:11
Definition: Shader.h:24