ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::Material Class Reference

#include <material.h>

Inheritance diagram for Wintermute::Material:
Collaboration diagram for Wintermute::Material:

List of all members.

Public Member Functions

 Material (BaseGame *inGame)
virtual ~Material ()
bool setTexture (const Common::String &filename, bool adoptName=false)
bool setSprite (BaseSprite *sprite, bool adoptName=false)
bool setTheora (VideoTheoraPlayer *theora, bool adoptName=false)
BaseSurfacegetSurface ()
bool loadFromX (XFileLexer &lexer, const Common::String &filename)
bool invalidateDeviceObjects ()
bool restoreDeviceObjects ()

Public Attributes

ColorValue _diffuse
ColorValue _ambient
ColorValue _specular
ColorValue _emissive
float _shininess

Private Attributes

Common::String _textureFilename
bool _ownedSurface

Detailed Description

Definition at line 77 of file material.h.

Constructor & Destructor Documentation

Wintermute::Material::Material ( BaseGame inGame  ) 

Definition at line 46 of file material.cpp.

Wintermute::Material::~Material (  )  [virtual]

Definition at line 52 of file material.cpp.

Member Function Documentation

BaseSurface * Wintermute::Material::getSurface (  ) 

Definition at line 131 of file material.cpp.

bool Wintermute::Material::invalidateDeviceObjects (  ) 

Definition at line 62 of file material.cpp.

bool Wintermute::Material::loadFromX ( XFileLexer lexer,
const Common::String filename 

Definition at line 143 of file material.cpp.

bool Wintermute::Material::restoreDeviceObjects (  ) 

Definition at line 68 of file material.cpp.

bool Wintermute::Material::setSprite ( BaseSprite sprite,
bool  adoptName = false 

Definition at line 92 of file material.cpp.

bool Wintermute::Material::setTexture ( const Common::String filename,
bool  adoptName = false 

Definition at line 73 of file material.cpp.

bool Wintermute::Material::setTheora ( VideoTheoraPlayer theora,
bool  adoptName = false 

Definition at line 112 of file material.cpp.

Member Data Documentation

Definition at line 101 of file material.h.

Definition at line 86 of file material.h.

Definition at line 102 of file material.h.

Definition at line 100 of file material.h.

Definition at line 99 of file material.h.

Definition at line 103 of file material.h.

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

Generated on Sat Sep 26 2020 05:04:14 for ResidualVM by doxygen 1.7.1
curved edge   curved edge