Callback which aligns and renders the textures.
virtual void operator()(osg::Node *node, osg::NodeVisitor *nv)
operator () - called during the update traversal.
TextureMatrixUpdateCallback(WGEOffscreenTexturePass *pass)
Constructor.
WGEOffscreenTexturePass * m_pass
The pass used in conjunction with this callback.
This class encapsulates an OSG Camera and a corresponding framebuffer object.
osg::ref_ptr< osg::TexMat > m_texMat
The texture matrix for this pass.
virtual ~WGEOffscreenTexturePass()
Destructor.
WGEOffscreenTexturePass(size_t textureWidth, size_t textureHeight, int num=0)
Creates a new offscreen rendering instance.
This class implements a HUD showing several textures on screen.