VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Member Functions
makVrv::DtEffectTextureUtils Class Reference

Static Public Member Functions

static bool isEffectTexture (const std::string &texName, const std::string &effectTypeCode)
 return whether the texture name represents the effect type code passed in
static bool isEffectTexture (const osg::Texture *tex, const std::string &texName, const std::string &effectTypeCode)
 return whether the texture name represents the effect type code passed in. checks whether passed in texture is null as well
static std::string getTextureNameLessExtension (const std::string &baseFileName)
static std::string getExtendedFileName (const std::string &baseFileName, const std::string &effectTypeCode)
static DtEffectTextureType effectTextureTypeFrom (osg::ExtendedMaterial::EffectTextureLayer extendedMaterialLayer)
static void getPossibleEffectTextureFileNames (const std::string &baseFileName, std::vector< std::string > &output, const std::string &effectTypeCode)
static std::string toString (DtEffectTextureType effectTextureType)
 convert the effect texture type to a legible string (useful for debugging)
static std::string getTextureArrayPattern (const std::string &effectUnitName)
 helpers to get #define if texture arrays are used
static std::string getTextureArrayReplacement (const std::string &effectUnitName)
static bool isSupportedByExtendedMaterial (int effectTextureType)
static bool effectTextureInstalled (const std::string &baseTextureName, const osg::StateSet *stateSet, const std::string &effectTypeCode)
 True if there's already an effect texture installed on the given stateset that corresponds to the given base texture.
static std::string getTextureFilePathAndSetNameIfNotSet (const osg::Texture *texture, bool doSetName)
static bool isRemoteTexture (const std::string &texturePath)

Member Function Documentation

static bool makVrv::DtEffectTextureUtils::isEffectTexture ( const std::string &  texName,
const std::string &  effectTypeCode 
)
static

return whether the texture name represents the effect type code passed in

static bool makVrv::DtEffectTextureUtils::isEffectTexture ( const osg::Texture *  tex,
const std::string &  texName,
const std::string &  effectTypeCode 
)
static

return whether the texture name represents the effect type code passed in. checks whether passed in texture is null as well

static std::string makVrv::DtEffectTextureUtils::getTextureNameLessExtension ( const std::string &  baseFileName)
static
static std::string makVrv::DtEffectTextureUtils::getExtendedFileName ( const std::string &  baseFileName,
const std::string &  effectTypeCode 
)
static
static DtEffectTextureType makVrv::DtEffectTextureUtils::effectTextureTypeFrom ( osg::ExtendedMaterial::EffectTextureLayer  extendedMaterialLayer)
static
static void makVrv::DtEffectTextureUtils::getPossibleEffectTextureFileNames ( const std::string &  baseFileName,
std::vector< std::string > &  output,
const std::string &  effectTypeCode 
)
static
static std::string makVrv::DtEffectTextureUtils::toString ( DtEffectTextureType  effectTextureType)
static

convert the effect texture type to a legible string (useful for debugging)

static std::string makVrv::DtEffectTextureUtils::getTextureArrayPattern ( const std::string &  effectUnitName)
static

helpers to get #define if texture arrays are used

static std::string makVrv::DtEffectTextureUtils::getTextureArrayReplacement ( const std::string &  effectUnitName)
static
static bool makVrv::DtEffectTextureUtils::isSupportedByExtendedMaterial ( int  effectTextureType)
static
static bool makVrv::DtEffectTextureUtils::effectTextureInstalled ( const std::string &  baseTextureName,
const osg::StateSet *  stateSet,
const std::string &  effectTypeCode 
)
static

True if there's already an effect texture installed on the given stateset that corresponds to the given base texture.

static std::string makVrv::DtEffectTextureUtils::getTextureFilePathAndSetNameIfNotSet ( const osg::Texture *  texture,
bool  doSetName 
)
static
static bool makVrv::DtEffectTextureUtils::isRemoteTexture ( const std::string &  texturePath)
static

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)