OpenGL ES SDK for Android
ARM Developer Center
|
#include <model3d.h>
Public Member Functions | |
Material () | |
~Material () | |
Public Attributes | |
float * | m_ambient |
4D Ambient color of the material More... | |
float * | m_diffuse |
4D Diffuse color of the material More... | |
float * | m_specular |
4D Specular color of the material More... | |
float * | m_emmision |
4D Emissive color of the material More... | |
float * | m_shine |
Shine exponent of the material. More... | |
float * | m_transparency |
Transparency of the material. More... | |
Objects of Material class contains material definitions A model can have zero or more materials if one or more materials are available then the third component of the first texture coordinates will contain the material id. all the materials available in the model can be sent as a uniform buffer object to the shaders indexed by the material id.
Model3D::Material::Material | ( | ) |
Default constructor sets all pointers to NULL
Definition at line 73 of file model3d.cpp.
Model3D::Material::~Material | ( | ) |
Default destructor sets all pointers to NULL
Definition at line 83 of file model3d.cpp.
float* Model3D::Material::m_ambient |
float* Model3D::Material::m_diffuse |
float* Model3D::Material::m_emmision |
float* Model3D::Material::m_shine |
float* Model3D::Material::m_specular |
float* Model3D::Material::m_transparency |