Refactored the old style .osg plugin support so that the DotOsgWrappers are placed in their own dedicated plugins found in src/osgWrappers/deprecated_osg
This commit is contained in:
28
src/osgWrappers/deprecated-dotosg/osgParticle/IO_Program.cpp
Normal file
28
src/osgWrappers/deprecated-dotosg/osgParticle/IO_Program.cpp
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
#include <osgParticle/Program>
|
||||
|
||||
#include <osgDB/Registry>
|
||||
#include <osgDB/Input>
|
||||
#include <osgDB/Output>
|
||||
|
||||
bool IOProgram_readLocalData(osg::Object &obj, osgDB::Input &fr);
|
||||
bool IOProgram_writeLocalData(const osg::Object &obj, osgDB::Output &fw);
|
||||
|
||||
osgDB::RegisterDotOsgWrapperProxy g_IOProgramProxy
|
||||
(
|
||||
0,
|
||||
"osgParticle::Program",
|
||||
"Object Node ParticleProcessor osgParticle::Program",
|
||||
IOProgram_readLocalData,
|
||||
IOProgram_writeLocalData
|
||||
);
|
||||
|
||||
bool IOProgram_readLocalData(osg::Object &, osgDB::Input &)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IOProgram_writeLocalData(const osg::Object &, osgDB::Output &)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user