Overte C++ Documentation
TextureFileNamer.h
1 //
2 // TextureFileNamer.h
3 // libraries/baking/src/baking
4 //
5 // Created by Sabrina Shanman on 2019/03/14.
6 // Copyright 2019 High Fidelity, Inc.
7 //
8 // Distributed under the Apache License, Version 2.0.
9 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10 //
11 
12 #ifndef hifi_TextureFileNamer_h
13 #define hifi_TextureFileNamer_h
14 
15 #include <QtCore/QFileInfo>
16 #include <QHash>
17 
18 #include <image/TextureProcessing.h>
19 
20 class TextureFileNamer {
21 public:
22  TextureFileNamer() {}
23 
24  QString createBaseTextureFileName(const QFileInfo& textureFileInfo, const image::TextureUsage::Type textureType);
25 
26 protected:
27  QHash<QString, int> _textureNameMatchCount;
28 };
29 
30 #endif // hifi_TextureFileNamer_h