16 #include <osg/ExtendedMaterial>
26 static bool isEffectTexture(
const std::string& texName,
const std::string& effectTypeCode);
30 static bool isEffectTexture(
const osg::Texture* tex,
const std::string& texName,
const std::string& effectTypeCode);
36 static std::string getTextureNameLessExtension(
const std::string& baseFileName);
39 static std::string getExtendedFileName(
const std::string& baseFileName,
const std::string& effectTypeCode);
42 static DtEffectTextureType effectTextureTypeFrom(osg::ExtendedMaterial::EffectTextureLayer extendedMaterialLayer);
46 static void getPossibleEffectTextureFileNames(
const std::string& baseFileName, std::vector<std::string>& output,
const std::string& effectTypeCode);
52 static std::string getTextureArrayPattern(
const std::string& effectUnitName);
53 static std::string getTextureArrayReplacement(
const std::string& effectUnitName);
56 static bool isSupportedByExtendedMaterial(
int effectTextureType);
60 static bool effectTextureInstalled(
const std::string& baseTextureName,
const osg::StateSet* stateSet,
const std::string& effectTypeCode);
63 static std::string getTextureFilePathAndSetNameIfNotSet(
const osg::Texture* texture,
bool doSetName);
65 static bool isRemoteTexture(
const std::string& texturePath);