ScummVM API documentation
Wintermute::Material Class Reference
Inheritance diagram for Wintermute::Material:
Wintermute::BaseNamedObject Wintermute::BaseClass

Public Member Functions

 Material (BaseGame *inGame)
 
bool setTexture (const Common::String &filename, bool adoptName=false)
 
bool setSprite (BaseSprite *sprite, bool adoptName=false)
 
bool setTheora (VideoTheoraPlayer *theora, bool adoptName=false)
 
bool setEffect (Effect3D *effect, Effect3DParams *params, bool adoptName=false)
 
BaseSurfacegetSurface ()
 
Effect3DgetEffect ()
 
Effect3DParamsgetEffectParams ()
 
bool invalidateDeviceObjects ()
 
bool restoreDeviceObjects ()
 
- Public Member Functions inherited from Wintermute::BaseNamedObject
 BaseNamedObject (BaseGame *inGame)
 
 BaseNamedObject (TDynamicConstructor, TDynamicConstructor)
 
const char * getName () const
 
void setName (const char *name)
 
- Public Member Functions inherited from Wintermute::BaseClass
bool setEditorProp (const Common::String &propName, const Common::String &propValue)
 
Common::String getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String())
 
 BaseClass (TDynamicConstructor, TDynamicConstructor)
 
bool parseEditorProperty (char *buffer, bool complete=true)
 
virtual bool saveAsText (BaseDynamicBuffer *buffer, int indent=0)
 
 BaseClass (BaseGame *GameOwner)
 
virtual const char * getClassName ()
 
virtual bool persist (BasePersistenceManager *persistMgr)
 

Public Attributes

DXMaterial _material
 
- Public Attributes inherited from Wintermute::BaseNamedObject
char * _name
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 

Additional Inherited Members

- Protected Attributes inherited from Wintermute::BaseClass
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

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