MaterialData.h
Go to the documentation of this file.
1 #ifndef B_MATERIAL_DATA_H
2 #define B_MATERIAL_DATA_H
3 
4 #include <unordered_map>
5 #include "vmmlib/vector.hpp"
6 
11 {
12  typedef std::unordered_map<std::string, std::string> TextureMap;
13  typedef std::unordered_map<std::string, std::string> CubeRelflectionMap;
14  typedef std::unordered_map<std::string, vmml::Vector3f> Vector3Map;
15  typedef std::unordered_map<std::string, GLfloat> ScalarMap;
16 
17  TextureMap textures;
18  Vector3Map vectors;
19  ScalarMap scalars;
20  CubeRelflectionMap cubeTextures;
21 
22  std::string name;
23 };
24 
25 #endif /* defined(B_MATERIAL_DATA_H) */
TextureMap textures
Definition: MaterialData.h:17
CubeRelflectionMap cubeTextures
Definition: MaterialData.h:20
std::unordered_map< std::string, GLfloat > ScalarMap
Definition: MaterialData.h:15
std::unordered_map< std::string, vmml::Vector3f > Vector3Map
Definition: MaterialData.h:14
std::unordered_map< std::string, std::string > TextureMap
Definition: MaterialData.h:12
std::unordered_map< std::string, std::string > CubeRelflectionMap
Definition: MaterialData.h:13
std::string name
Definition: MaterialData.h:22
Vector3Map vectors
Definition: MaterialData.h:18
The underlying data of a material.
Definition: MaterialData.h:10
ScalarMap scalars
Definition: MaterialData.h:19