ScummVM API documentation
Tetraedge::TeMaterial Class Reference

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
 
TeMaterialoperator= (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
 

The documentation for this class was generated from the following file: