Overte C++ Documentation
MaterialMappingMode.h
1 //
2 // Created by Sam Gondelman on 1/12/18.
3 // Copyright 2018 High Fidelity, Inc.
4 //
5 // Distributed under the Apache License, Version 2.0.
6 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
7 //
8 
9 #ifndef hifi_MaterialMappingMode_h
10 #define hifi_MaterialMappingMode_h
11 
12 #include "QString"
13 
14 enum MaterialMappingMode : uint8_t {
15  UV = 0,
16  PROJECTED,
17  TRIPLANAR,
18  // put new mapping-modes before this line.
19  UNSET_MATERIAL_MAPPING_MODE
20 };
21 
22 class MaterialMappingModeHelpers {
23 public:
24  static QString getNameForMaterialMappingMode(MaterialMappingMode mode);
25 };
26 
27 #endif // hifi_MaterialMappingMode_h
28