# opentl::core::cvdata::ShapeAppearance::ShapeAppearance::Material Struct Reference

List of all members.

## Public Member Functions
| Material (const Material &value)
| Material ()
| ~Material ()
## Public Attributes
math::Vector4 | ambient
math::Vector4 | diffuse
opentl::core::cvdata::Image * | img
unsigned short | partIdx
| (For multi-part meshes) index of the link this material belongs to.
GLuint | texIdGPU

## Constructor & Destructor Documentation

opentl::core::cvdata::ShapeAppearance::ShapeAppearance::Material::Material | ( |  | ) | `[inline]`

opentl::core::cvdata::ShapeAppearance::ShapeAppearance::Material::Material | ( | const Material & | value | ) | `[inline]`

opentl::core::cvdata::ShapeAppearance::ShapeAppearance::Material::~Material | ( |  | ) | `[inline]`

## Member Data Documentation

math::Vector4 opentl::core::cvdata::ShapeAppearance::ShapeAppearance::Material::ambient

ambient color

math::Vector4 opentl::core::cvdata::ShapeAppearance::ShapeAppearance::Material::diffuse

diffuse color

opentl::core::cvdata::Image* opentl::core::cvdata::ShapeAppearance::ShapeAppearance::Material::img

image

unsigned short opentl::core::cvdata::ShapeAppearance::ShapeAppearance::Material::partIdx

(For multi-part meshes) index of the link this material belongs to.

GLuint opentl::core::cvdata::ShapeAppearance::ShapeAppearance::Material::texIdGPU

unique texture ID for GPU rendering