mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-25 02:30:20 +02:00
Use place holder instead of RCC file.
(cherry picked from commit709515dd74
) (cherry picked from commit4e4526fbb2
)
This commit is contained in:
parent
2b376f7881
commit
3ba5f8e574
2 changed files with 6 additions and 1 deletions
|
@ -66,7 +66,12 @@ private:
|
||||||
TextureFileNamer _textureFileNamer;
|
TextureFileNamer _textureFileNamer;
|
||||||
|
|
||||||
void addTexture(const QString& materialName, image::TextureUsage::Type textureUsage, const hfm::Texture& texture);
|
void addTexture(const QString& materialName, image::TextureUsage::Type textureUsage, const hfm::Texture& texture);
|
||||||
std::unordered_map<std::string, std::unordered_map<image::TextureUsage::Type, std::pair<QByteArray, QString>>> _textureContentMap;
|
struct TextureUsageHash {
|
||||||
|
std::size_t operator()(image::TextureUsage::Type textureUsage) const {
|
||||||
|
return static_cast<std::size_t>(textureUsage);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
std::unordered_map<std::string, std::unordered_map<image::TextureUsage::Type, std::pair<QByteArray, QString>, TextureUsageHash>> _textureContentMap;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // !hifi_MaterialBaker_h
|
#endif // !hifi_MaterialBaker_h
|
||||||
|
|
0
tools/nitpick/compiledResources/.placeholder
Normal file
0
tools/nitpick/compiledResources/.placeholder
Normal file
Loading…
Reference in a new issue