Added Options support to ImageSequence LOAD_* functionality
This commit is contained in:
@@ -306,7 +306,7 @@ class OSG_EXPORT NodeVisitor : public virtual Referenced
|
||||
|
||||
virtual double getPreLoadTime() const = 0;
|
||||
|
||||
virtual osg::Image* readImageFile(const std::string& fileName) = 0;
|
||||
virtual osg::Image* readImageFile(const std::string& fileName, const osg::Referenced* options=0) = 0;
|
||||
|
||||
virtual void requestImageFile(const std::string& fileName,osg::Object* attachmentPoint, int attachmentIndex, double timeToMergeBy, const FrameStamp* framestamp, osg::ref_ptr<osg::Referenced>& imageRequest, const osg::Referenced* options=0) = 0;
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ class OSGDB_EXPORT ImagePager : public osg::NodeVisitor::ImageRequestHandler
|
||||
void setPreLoadTime(double preLoadTime) { _preLoadTime=preLoadTime; }
|
||||
virtual double getPreLoadTime() const { return _preLoadTime; }
|
||||
|
||||
virtual osg::Image* readImageFile(const std::string& fileName);
|
||||
virtual osg::Image* readImageFile(const std::string& fileName, const osg::Referenced* options=0);
|
||||
|
||||
virtual void requestImageFile(const std::string& fileName, osg::Object* attachmentPoint, int attachmentIndex, double timeToMergeBy, const osg::FrameStamp* framestamp, osg::ref_ptr<osg::Referenced>& imageRequest, const osg::Referenced* options);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user