The Material class is used to define a MaterialKey. More...

#include <sc_store.h>

Public Member Functions

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

Public Attributes

Color diffuse_color
 
std::vector< Texturediffuse_textures
 This supports 0 or 1 or 2 diffuse textures. More...
 
LinePatternKey line_pattern_key
 
MaterialProperties properties
 

Detailed Description

The Material class is used to define a MaterialKey.

Constructor & Destructor Documentation

◆ Material() [1/2]

SC::Store::Material::Material ( )

◆ Material() [2/2]

SC::Store::Material::Material ( Color const &  diffuse_color)
explicit

Member Function Documentation

◆ operator!=()

bool SC::Store::Material::operator!= ( Material const &  that) const

◆ operator==()

bool SC::Store::Material::operator== ( Material const &  that) const

Member Data Documentation

◆ diffuse_color

Color SC::Store::Material::diffuse_color

◆ diffuse_textures

std::vector<Texture> SC::Store::Material::diffuse_textures

This supports 0 or 1 or 2 diffuse textures.

◆ line_pattern_key

LinePatternKey SC::Store::Material::line_pattern_key

◆ properties

MaterialProperties SC::Store::Material::properties