Material

Fields

std::vector< Texture >

diffuse_textures

Color

diffuse_color

MaterialProperties

properties

LinePatternKey

line_pattern_key

Functions

Material

Material

bool

operator==

bool

operator!=

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.

Color diffuse_color
MaterialProperties properties
LinePatternKey line_pattern_key