X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Fmodel%2Fmodel.hxx;h=9c9f0342e8f20d64a90fd9ee5158bbff805aa4a0;hb=5a96b283f63cfacd3a3a90a82246defb038242d3;hp=c2097fdcd52930cab553b80cd5cae13b53cc4ea7;hpb=3346bfc9a8e01a81bddab503664e0399d57e4d5e;p=simgear.git diff --git a/simgear/scene/model/model.hxx b/simgear/scene/model/model.hxx index c2097fdc..9c9f0342 100644 --- a/simgear/scene/model/model.hxx +++ b/simgear/scene/model/model.hxx @@ -25,17 +25,17 @@ 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); @@ -43,7 +43,7 @@ SGLoadTexture2D(const std::string& path, 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) { @@ -53,7 +53,7 @@ SGLoadTexture2D(const SGPath& path, 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) { @@ -102,7 +102,7 @@ public: osg::ref_ptr instantiateEffects(osg::Node* model, PropertyList& effectProps, - const SGReaderWriterXMLOptions* options); + const SGReaderWriterOptions* options); /** * Transform an OSG subgraph by substituting the Effects and @@ -115,7 +115,7 @@ instantiateEffects(osg::Node* model, inline osg::ref_ptr instantiateEffects(osg::Node* model, - const SGReaderWriterXMLOptions* options) + const SGReaderWriterOptions* options) { PropertyList effectProps; return instantiateEffects(model, effectProps, options);