C++ 我也是:) osg::ref_ptr<osg::Node> bench = osgDB::readNodeFile("Models/test.IVE"); /** Read an osg::Node from file. * Retu
我也是:)C++ 我也是:) osg::ref_ptr<osg::Node> bench = osgDB::readNodeFile("Models/test.IVE"); /** Read an osg::Node from file. * Retu,c++,openscenegraph,C++,Openscenegraph,我也是:) osg::ref_ptr<osg::Node> bench = osgDB::readNodeFile("Models/test.IVE"); /** Read an osg::Node from file. * Return valid osg::Node on success, * return NULL on failure. * The osgDB::Registry is used to load the appropriate ReaderW
osg::ref_ptr<osg::Node> bench = osgDB::readNodeFile("Models/test.IVE");
/** Read an osg::Node from file.
* Return valid osg::Node on success,
* return NULL on failure.
* The osgDB::Registry is used to load the appropriate ReaderWriter plugin
* for the filename extension, and this plugin then handles the request
* to read the specified file.*/
inline osg::Node* readNodeFile(const std::string& filename)
{
return readNodeFile(filename,Registry::instance()->getOptions());
}