// Map that give the normalization factor for each map from its sharename. This avoid to generate several time the maps to get the normalization factor if a bumpmap is shared by severals CTextureBump instances;
structCNormalizationInfo
{
uintNumRefs;
floatNormalizationFactor;
};
typedefstd::map<std::string,CNormalizationInfo>TNameToNI;// sharename to the normalization factor
staticTNameToNI_NameToNF;// name to normalization factor
private:
/// we don't allow for mipmap for bump so we redefine this to prevent the user from doing this on the base class Itexture
// Map that give the normalization factor for each map from its sharename. This avoid to generate several time the maps to get the normalization factor if a bumpmap is shared by severals CTextureBump instances;
structCNormalizationInfo
{
uintNumRefs;
floatNormalizationFactor;
};
typedefstd::map<std::string,CNormalizationInfo>TNameToNI;// sharename to the normalization factor