Program Listing for File Material.hpp
↰ Return to documentation for file (include/lvr2/texture/Material.hpp)
#ifndef LVR2_TEXTURE_MATERIAL_H_
#define LVR2_TEXTURE_MATERIAL_H_
#include <boost/optional.hpp>
#include "lvr2/algorithm/ColorAlgorithms.hpp"
#include "lvr2/geometry/Handles.hpp"
#include <map>
#include <string>
namespace lvr2
{
struct Material
{
using LayerMap = std::map<std::string, TextureHandle>;
boost::optional<TextureHandle> m_texture;
boost::optional<RGB8Color> m_color;
LayerMap m_layers;
};
} // namespace lvr2
#endif /* LVR2_TEXTURE_MATERIAL_H_ */