OpenWalnut
1.4.0
|
Callback which aligns and renders the textures. More...
Public Member Functions | |
TextureMatrixUpdateCallback (WGEOffscreenTexturePass *pass) | |
Constructor. | |
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
operator () - called during the update traversal. | |
Public Attributes | |
WGEOffscreenTexturePass * | m_pass |
The pass used in conjunction with this callback. |
Callback which aligns and renders the textures.
Definition at line 88 of file WGEOffscreenTexturePass.h.
WGEOffscreenTexturePass::TextureMatrixUpdateCallback::TextureMatrixUpdateCallback | ( | WGEOffscreenTexturePass * | pass | ) | [inline, explicit] |
Constructor.
pass | the pass to which this callback is applied. Needed for accessing some mebers. |
Definition at line 96 of file WGEOffscreenTexturePass.h.
void WGEOffscreenTexturePass::TextureMatrixUpdateCallback::operator() | ( | osg::Node * | node, |
osg::NodeVisitor * | nv | ||
) | [virtual] |
operator () - called during the update traversal.
node | the osg node |
nv | the node visitor |
Definition at line 86 of file WGEOffscreenTexturePass.cpp.
References WGEOffscreenRenderPass::getTextureHeight(), WGEOffscreenRenderPass::getTextureWidth(), m_pass, and WGEOffscreenTexturePass::m_texMat.
The pass used in conjunction with this callback.
Definition at line 111 of file WGEOffscreenTexturePass.h.
Referenced by operator()().