Data used to construct a material.
#include <GeometryDataContainers.h>
Public Attributes | |
std::string | m_name |
The name of the material. | |
WSM::Color | m_color = {255, 255, 255, 255} |
The material color, in RGBA format, with R being the high byte. | |
double | m_dHorzScale = 1.0 |
The scale applied to the texture data. | |
double | m_dVertScale = 1.0 |
size_t | m_nTextureIndex = UNUSED_INDEX |
An index into the texture data array. | |
WSM::Color WSM::MaterialData::m_color = {255, 255, 255, 255} |
The material color, in RGBA format, with R being the high byte.
The default color of a material is white, which corresponds to a material with no color change from the texture itself when used with a texture.
double WSM::MaterialData::m_dHorzScale = 1.0 |
The scale applied to the texture data.
double WSM::MaterialData::m_dVertScale = 1.0 |
std::string WSM::MaterialData::m_name |
The name of the material.
size_t WSM::MaterialData::m_nTextureIndex = UNUSED_INDEX |
An index into the texture data array.