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

#include <material.h>

Inheritance diagram for Grim::Material:
Collaboration diagram for Grim::Material:

List of all members.

Public Member Functions

 Material (const Common::String &filename, Common::SeekableReadStream *data, CMap *cmap, bool clamp)
void reload (CMap *cmap)
virtual void select () const
void setActiveTexture (int n)
int getNumTextures () const
int getActiveTexture () const
const Common::StringgetFilename () const
MaterialDatagetData () const
virtual ~Material ()

Protected Member Functions

 Material ()

Private Attributes

MaterialData_data
int _currImage
bool _clampTexture

Detailed Description

Definition at line 65 of file material.h.


Constructor & Destructor Documentation

Grim::Material::Material ( const Common::String filename,
Common::SeekableReadStream data,
CMap cmap,
bool  clamp 
)

Definition at line 215 of file material.cpp.

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

Definition at line 253 of file material.cpp.

Grim::Material::Material (  )  [protected]

Definition at line 221 of file material.cpp.


Member Function Documentation

int Grim::Material::getActiveTexture (  )  const

Definition at line 270 of file material.cpp.

MaterialData * Grim::Material::getData (  )  const

Definition at line 278 of file material.cpp.

const Common::String & Grim::Material::getFilename (  )  const

Definition at line 274 of file material.cpp.

int Grim::Material::getNumTextures (  )  const

Definition at line 266 of file material.cpp.

void Grim::Material::reload ( CMap cmap  ) 

Definition at line 225 of file material.cpp.

void Grim::Material::select (  )  const [virtual]

Definition at line 239 of file material.cpp.

void Grim::Material::setActiveTexture ( int  n  ) 

Definition at line 262 of file material.cpp.


Member Data Documentation

Definition at line 91 of file material.h.

Definition at line 90 of file material.h.

Definition at line 89 of file material.h.


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


Generated on Sat Mar 16 2019 05:06:09 for ResidualVM by doxygen 1.7.1
curved edge   curved edge