]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/material/TextureBuilder.hxx
Improved tile cache priority scheme.
[simgear.git] / simgear / scene / material / TextureBuilder.hxx
index 395ca38260b8fb9a4bb4aa7c8cb2c1400061324d..55df27360e178bb531a9d83afc0502050917ab9e 100644 (file)
@@ -29,9 +29,16 @@ public:
     // Hack to force inclusion of TextureBuilder.cxx in library
     static osg::Texture* buildFromType(Effect* effect, const std::string& type,
                                        const SGPropertyNode*props,
-                                       const osgDB::ReaderWriter::Options* options);
+                                       const SGReaderWriterXMLOptions* options);
 };
 
+struct TextureUnitBuilder : public PassAttributeBuilder
+{
+    void buildAttribute(Effect* effect, Pass* pass, const SGPropertyNode* prop,
+                        const SGReaderWriterXMLOptions* options);
+};
+
+
 bool makeTextureParameters(SGPropertyNode* paramRoot, const osg::StateSet* ss);
 }
 #endif