OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
waterutil.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_COMPONENTS_WATERUTIL_H
2 #define OPENMW_COMPONENTS_WATERUTIL_H
3 
4 #include <osg/ref_ptr>
5 
6 namespace osg
7 {
8  class Geometry;
9  class StateSet;
10 }
11 
12 namespace SceneUtil
13 {
14  osg::ref_ptr<osg::Geometry> createWaterGeometry(float size, int segments, float textureRepeats);
15 
16  osg::ref_ptr<osg::StateSet> createSimpleWaterStateSet(float alpha, int renderBin);
17 }
18 
19 #endif
osg::ref_ptr< osg::StateSet > createSimpleWaterStateSet(float alpha, int renderBin)
Definition: waterutil.cpp:57
osg::ref_ptr< osg::Geometry > createWaterGeometry(float size, int segments, float textureRepeats)
Definition: waterutil.cpp:10