MCPcopy Create free account
hub / github.com/alicevision/AliceVision / EBumpMappingType_enumToString

Function EBumpMappingType_enumToString

src/aliceVision/mesh/Texturing.cpp:116–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 throw std::out_of_range("Invalid bump mapping type " + type);
115}
116std::string EBumpMappingType_enumToString(EBumpMappingType type)
117{
118 switch (type)
119 {
120 case EBumpMappingType::Height:
121 return "Height";
122 case EBumpMappingType::Normal:
123 return "Normal";
124 }
125 throw std::out_of_range("Invalid bump mapping type enum");
126}
127std::ostream& operator<<(std::ostream& os, EBumpMappingType bumpMappingType) { return os << EBumpMappingType_enumToString(bumpMappingType); }
128std::istream& operator>>(std::istream& in, EBumpMappingType& bumpMappingType)
129{

Callers 1

Texturing.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected