Vis 2
Kinetic Visualization for 3D shape and structure
 All Classes Namespaces Functions Pages
BasicRenderable.h
1 #pragma once
2 #include "IRenderable.h"
3 
4 class BasicRenderable : public virtual IRenderable
5 {
6 public:
7  BasicRenderable(std::string,const float *, const float *, const int);
8  virtual ~BasicRenderable();
9 
10  virtual void initialize();
11  virtual void bindResources(const Shader * shader);
12  virtual void unbindResources();
13  virtual void draw();
14 
15  const float * _vertexPositions;
16  const float * _vertexNormals;
17  const int _numVertices;
18  unsigned int _vbo;
19  unsigned int _vboNormals;
20  unsigned int _vao;
21 };
Definition: IRenderable.h:11
Definition: BasicRenderable.h:4
Definition: Shader.h:24