namespace simgear
{
-class SGReaderWriterXMLOptions;
+class SGReaderWriterOptions;
}
osg::Texture2D*
SGLoadTexture2D(bool staticTexture, const std::string& path,
- const osgDB::ReaderWriter::Options* options = 0,
+ const osgDB::Options* options = 0,
bool wrapu = true, bool wrapv = true, int mipmaplevels = -1);
inline osg::Texture2D*
SGLoadTexture2D(const std::string& path,
- const osgDB::ReaderWriter::Options* options = 0,
+ const osgDB::Options* options = 0,
bool wrapu = true, bool wrapv = true, int mipmaplevels = -1)
{
return SGLoadTexture2D(true, path, options, wrapu, wrapv, mipmaplevels);
inline osg::Texture2D*
SGLoadTexture2D(const SGPath& path,
- const osgDB::ReaderWriter::Options* options = 0,
+ const osgDB::Options* options = 0,
bool wrapu = true, bool wrapv = true,
int mipmaplevels = -1)
{
inline osg::Texture2D*
SGLoadTexture2D(bool staticTexture, const SGPath& path,
- const osgDB::ReaderWriter::Options* options = 0,
+ const osgDB::Options* options = 0,
bool wrapu = true, bool wrapv = true,
int mipmaplevels = -1)
{
osg::ref_ptr<osg::Node>
instantiateEffects(osg::Node* model,
PropertyList& effectProps,
- const SGReaderWriterXMLOptions* options);
+ const SGReaderWriterOptions* options);
/**
* Transform an OSG subgraph by substituting the Effects and
inline osg::ref_ptr<osg::Node>
instantiateEffects(osg::Node* model,
- const SGReaderWriterXMLOptions* options)
+ const SGReaderWriterOptions* options)
{
PropertyList effectProps;
return instantiateEffects(model, effectProps, options);