Material

Detailed Description

class Material

The Material class is used to define a MaterialKey.

Public Functions

inline Material()
inline explicit Material(Color const &diffuse_color)
inline bool operator==(Material const &that) const
inline bool operator!=(Material const &that) const

Public Members

std::vector<Texture> diffuse_textures

This supports 0 or 1 or 2 diffuse textures.

std::vector<Texture> specular_textures
std::vector<Texture> emissive_textures
std::vector<Texture> ambient_textures
Color diffuse_color
Color specular_color
Color emissive_color
Color ambient_color
MaterialProperties properties
LinePatternKey line_pattern_key