Definition of guidelines for an object's interaction with light energy. More...
Public Types | |
enum | Type { Diffuse = 0, Specular, Emissive, ntypes } |
Public Member Functions | |
Material () | |
bool | read (istream &) |
bool | write (ostream &) const |
Public Attributes | |
CoreF::RGB | color [ntypes] |
string | filename [ntypes] |
Texture * | tex [ntypes] |
float | uscale [ntypes] |
float | vscale [ntypes] |
float | exp |
float | r0 |
bool | tr |
Friends | |
istream & | operator>> (istream &in, Material &) |
ostream & | operator<< (ostream &out, const Material &) |
Definition of guidelines for an object's interaction with light energy.
bool Core::Mesh::Material::read | ( | istream & | in | ) |
bool Core::Mesh::Material::write | ( | ostream & | out | ) | const |
ostream& operator<< | ( | ostream & | out, |
const Material & | |||
) | [friend] |
istream& operator>> | ( | istream & | in, |
Material & | |||
) | [friend] |
Referenced by Core::Mesh::genTexture(), Core::Mesh::loadIW(), Core::Mesh::loadML(), and read().
Referenced by read().
string Core::Mesh::Material::filename[ntypes] |
Referenced by Core::Mesh::genTexture(), and Material().
float Core::Mesh::Material::r0 |
Referenced by read().
Referenced by Core::Mesh::loadIW(), Core::Mesh::loadML(), Core::Mesh::loadOBJ(), Material(), and read().
Referenced by read().
Referenced by Core::Mesh::genTexture(), Material(), and read().
Referenced by Core::Mesh::genTexture(), Material(), and read().