12 #include <osg/Referenced>
13 #include <osgDB/Options>
40 virtual std::string getEffectTypeCode()
const =0;
43 virtual osg::Texture* installEffectTexture(
osg::Texture* baseTexture,
int texUnit, osg::StateSet* stateSet,
const osgDB::Options* dbOptions);
55 virtual bool effectTextureInstalled(
osg::Texture* baseTexture, osg::StateSet* stateSet)
const;
protected:
58 std::string getTextureFilePath(
osg::Texture* texture)
const;
61 std::string getExtendedFileName(
const std::string& baseFileName)
const;
65 void getPossibleEffectTextureFileNames(
const std::string& baseFileName, std::vector<std::string>& output)
const;
77 void applyDefaultShaderLODRanges(osgEarth::VirtualProgram* vp,
const std::string&
function)
const;