mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-30 21:32:42 +00:00
23 lines
482 B
C++
23 lines
482 B
C++
|
#ifndef OPENMW_MWRENDER_PINGPONGCULL_H
|
||
|
#define OPENMW_MWRENDER_PINGPONGCULL_H
|
||
|
|
||
|
#include <array>
|
||
|
|
||
|
#include <components/sceneutil/nodecallback.hpp>
|
||
|
|
||
|
#include "postprocessor.hpp"
|
||
|
|
||
|
namespace MWRender
|
||
|
{
|
||
|
class PostProcessor;
|
||
|
class PingPongCull : public SceneUtil::NodeCallback<PingPongCull, osg::Node*, osgUtil::CullVisitor*>
|
||
|
{
|
||
|
public:
|
||
|
void operator()(osg::Node* node, osgUtil::CullVisitor* nv);
|
||
|
private:
|
||
|
osg::Matrixf mLastViewMatrix;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|