|
| ObjMaterial () |
|
const fvec3 & | ka () const |
| Ka - ambient color. More...
|
|
const fvec3 & | kd () const |
| Kd - diffuse color. More...
|
|
const fvec3 & | ks () const |
| Ks - specular color. More...
|
|
const fvec3 & | ke () const |
| Ke - emissive color. More...
|
|
float | tr () const |
| Tr/d - transparency. More...
|
|
float | ns () const |
| Ns - specular exponent. More...
|
|
int | illum () const |
| illum - illumination model More...
|
|
float | ni () const |
| Ni - optical density / index of refraction. More...
|
|
const ObjTexture & | map_Kd () const |
| map_Kd - ambient diffuse More...
|
|
const ObjTexture & | map_Ka () const |
| map_Ka - ambient color map More...
|
|
const ObjTexture & | map_Ks () const |
| map_Ks - specular color map More...
|
|
const ObjTexture & | map_Ns () const |
| map_Ns - specular exponent map More...
|
|
const ObjTexture & | map_d () const |
| map_d - transparency map More...
|
|
const ObjTexture & | map_Decal () const |
| decal - decal map More...
|
|
const ObjTexture & | map_Disp () const |
| disp - displace map More...
|
|
const ObjTexture & | map_Bump () const |
| bump - bump map More...
|
|
void | setKa (const fvec3 &ka) |
| Ka - ambient color. More...
|
|
void | setKd (const fvec3 &kd) |
| Kd - diffuse color. More...
|
|
void | setKs (const fvec3 &ks) |
| Ks - specular color. More...
|
|
void | setKe (const fvec3 &ke) |
| Ke - emissive color. More...
|
|
void | setTr (float tr) |
| Tr/d - transparency. More...
|
|
void | setNs (float ns) |
| Ns - specular exponent. More...
|
|
void | setIllum (int illum) |
| illum - illumination model More...
|
|
void | setNi (float ni) |
| Ni - optical density / index of refraction. More...
|
|
void | setMap_Kd (const ObjTexture &map_kd) |
| map_Kd - ambient diffuse More...
|
|
void | setMap_Ka (const ObjTexture &map_ka) |
| map_Ka - ambient color map More...
|
|
void | setMap_Ks (const ObjTexture &map_ks) |
| map_Ks - specular color map More...
|
|
void | setMap_Ns (const ObjTexture &map_ns) |
| map_Ns - specular exponent map More...
|
|
void | setMap_d (const ObjTexture &map_d) |
| map_d - transparency map More...
|
|
void | setMap_Decal (const ObjTexture &map_decal) |
| decal - decal map More...
|
|
void | setMap_Disp (const ObjTexture &map_disp) |
| disp - displace map More...
|
|
void | setMap_Bump (const ObjTexture &map_bump) |
| bump - bump map More...
|
|
| Object () |
| Constructor. More...
|
|
| Object (const Object &other) |
| Copy constructor: copies the name, ref count mutex and user data. More...
|
|
Object & | operator= (const Object &other) |
| Copy operator: copies the object's name, ref count mutex and user data. More...
|
|
const std::string & | objectName () const |
| The name of the object, by default set to the object's class name. More...
|
|
void | setObjectName (const char *name) |
| The name of the object, by default set to the object's class name in debug builds. More...
|
|
void | setObjectName (const std::string &name) |
| The name of the object, by default set to the object's class name in debug builds. More...
|
|
void | setRefCountMutex (IMutex *mutex) |
| The mutex used to protect the reference counting of an Object across multiple threads. More...
|
|
IMutex * | refCountMutex () |
| The mutex used to protect the reference counting of an Object across multiple threads. More...
|
|
const IMutex * | refCountMutex () const |
| The mutex used to protect the reference counting of an Object across multiple threads. More...
|
|
int | referenceCount () const |
| Returns the number of references of an object. More...
|
|
void | incReference () const |
| Increments the reference count of an object. More...
|
|
void | decReference () |
| Decrements the reference count of an object and deletes it if both automaticDelete() is true the count reaches 0. More...
|
|
void | setAutomaticDelete (bool autodel_on) |
| If set to true the Object is deleted when its reference count reaches 0. More...
|
|
bool | automaticDelete () const |
| If set to true the Object is deleted when its reference count reaches 0. More...
|
|
template<class T > |
T * | as () |
| Casts an Object to the specified class. More...
|
|
template<class T > |
const T * | as () const |
| Casts an Object to the specified class. More...
|
|