SunFlashCallback handles fading/scaling of a node depending on occlusion query result. Must be attached as a cull callback.
More...
|
| SunFlashCallback (osg::ref_ptr< osg::OcclusionQueryNode > oqnVisible, osg::ref_ptr< osg::OcclusionQueryNode > oqnTotal) |
|
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
|
void | setGlareView (float value) |
|
| OcclusionCallback (osg::ref_ptr< osg::OcclusionQueryNode > oqnVisible, osg::ref_ptr< osg::OcclusionQueryNode > oqnTotal) |
|
SunFlashCallback handles fading/scaling of a node depending on occlusion query result. Must be attached as a cull callback.
MWRender::Sun::SunFlashCallback::SunFlashCallback |
( |
osg::ref_ptr< osg::OcclusionQueryNode > |
oqnVisible, |
|
|
osg::ref_ptr< osg::OcclusionQueryNode > |
oqnTotal |
|
) |
| |
|
inline |
virtual void MWRender::Sun::SunFlashCallback::operator() |
( |
osg::Node * |
node, |
|
|
osg::NodeVisitor * |
nv |
|
) |
| |
|
inlinevirtual |
void MWRender::Sun::SunFlashCallback::setGlareView |
( |
float |
value | ) |
|
|
inline |
float MWRender::Sun::SunFlashCallback::mGlareView |
|
private |
The documentation for this class was generated from the following file:
- /home/travis/build/OpenMW/openmw/apps/openmw/mwrender/sky.cpp