gramods
TextureInterface.hh
1 
2 #ifndef GRAMODS_GRAPHICS_TEXTUREINTERFACE
3 #define GRAMODS_GRAPHICS_TEXTUREINTERFACE
4 
5 #include <gmGraphics/config.hh>
6 
7 #include <gmGraphics/Eye.hh>
8 
9 #include <GL/glew.h>
10 #include <GL/gl.h>
11 
12 BEGIN_NAMESPACE_GMGRAPHICS;
13 
18 
19 public:
20 
36  virtual GLuint updateTexture(size_t frame_number, Eye eye) = 0;
37 
38 };
39 
40 END_NAMESPACE_GMGRAPHICS;
41 
42 #endif
The interface for classes providing texture data for rendering.
Definition: TextureInterface.hh:17
virtual GLuint updateTexture(size_t frame_number, Eye eye)=0
Updates the texture and returns the ID of the associated GL texture object.
An indexed eye that can be rendered.
Definition: Eye.hh:20