OpenWalnut  1.5.0dev
Public Member Functions | Public Attributes | List of all members
WMSurfaceParameterAnimator::SafeUniformCallback Class Reference

Class handling uniform update during render traversal. More...

+ Inheritance diagram for WMSurfaceParameterAnimator::SafeUniformCallback:
+ Collaboration diagram for WMSurfaceParameterAnimator::SafeUniformCallback:

Public Member Functions

 SafeUniformCallback (WMSurfaceParameterAnimator *module)
 Constructor. More...
 
virtual void operator() (osg::Uniform *uniform, osg::NodeVisitor *nv)
 The callback. More...
 

Public Attributes

WMSurfaceParameterAnimatorm_module
 Pointer used to access members of the module to modify the node. More...
 

Detailed Description

Class handling uniform update during render traversal.

Definition at line 256 of file WMSurfaceParameterAnimator.h.

Constructor & Destructor Documentation

◆ SafeUniformCallback()

WMSurfaceParameterAnimator::SafeUniformCallback::SafeUniformCallback ( WMSurfaceParameterAnimator module)
inlineexplicit

Constructor.

Parameters
modulejust set the creating module as pointer for later reference.

Definition at line 264 of file WMSurfaceParameterAnimator.h.

Member Function Documentation

◆ operator()()

void WMSurfaceParameterAnimator::SafeUniformCallback::operator() ( osg::Uniform *  uniform,
osg::NodeVisitor *  nv 
)
virtual

The callback.

Called every render traversal for the uniform.

Parameters
uniformthe uniform for which this callback is.
nvthe visitor.

Definition at line 302 of file WMSurfaceParameterAnimator.cpp.

Member Data Documentation

◆ m_module

WMSurfaceParameterAnimator* WMSurfaceParameterAnimator::SafeUniformCallback::m_module

Pointer used to access members of the module to modify the node.

Definition at line 279 of file WMSurfaceParameterAnimator.h.


The documentation for this class was generated from the following files: