Public Types | |
enum | Mode { MaterialMode0, MaterialMode1, MaterialMode2 } |
Public Member Functions | |
TeMaterial (const TeMaterial &other)=default | |
TeMaterial (TeIntrusivePtr< Te3DTexture > texture, Mode mode) | |
void | defaultValues () |
bool | operator== (const TeMaterial &other) const |
bool | operator!= (const TeMaterial &other) const |
TeMaterial & | operator= (const TeMaterial &other) |
Common::String | dump () const |
Static Public Member Functions | |
static void | deserialize (Common::SeekableReadStream &stream, TeMaterial &material, const Common::Path &path) |
static void | serialize (Common::SeekableWriteStream &stream, TeMaterial &material) |
Public Attributes | |
TeIntrusivePtr< Te3DTexture > | _texture |
Mode | _mode |
TeColor | _ambientColor |
TeColor | _diffuseColor |
TeColor | _specularColor |
TeColor | _emissionColor |
float | _shininess |
bool | _isShadowTexture |
bool | _enableLights |