The material code constructs a property list from its input parameters. Enable dumping of Pass and Technique objects to a file. Default effect now uses texture node instead of texture0
25 lines
317 B
C++
25 lines
317 B
C++
#include "Pass.hxx"
|
|
|
|
#include <osgDB/Registry>
|
|
|
|
namespace simgear
|
|
{
|
|
|
|
Pass::Pass(const Pass& rhs, const osg::CopyOp& copyop) :
|
|
osg::StateSet(rhs, copyop)
|
|
{
|
|
}
|
|
|
|
namespace
|
|
{
|
|
osgDB::RegisterDotOsgWrapperProxy PassProxy
|
|
(
|
|
new Pass,
|
|
"simgear::Pass",
|
|
"Object simgear::Pass StateSet ",
|
|
0,
|
|
0
|
|
);
|
|
}
|
|
}
|