gramods
modules
gmGraphics
include
gmGraphics
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
17
class
TextureInterface
{
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
gramods::gmGraphics::TextureInterface
The interface for classes providing texture data for rendering.
Definition:
TextureInterface.hh:17
gramods::gmGraphics::TextureInterface::updateTexture
virtual GLuint updateTexture(size_t frame_number, Eye eye)=0
Updates the texture and returns the ID of the associated GL texture object.
gramods::gmGraphics::Eye
An indexed eye that can be rendered.
Definition:
Eye.hh:20
Generated by
1.9.1