#include <OpenGLMaterial.h>
Inheritance diagram for COpenGLMaterial:
Protected Member Functions | |
virtual int | LoadXML (TiXmlNode *pDataNode, CString strFilename) |
virtual int | SaveXML (TiXmlNode *pDataNode, CString strFilename) |
virtual void | Bind () |
void | Destroy () |
virtual bool | IsOfType (eEntityType eType) |
This class provides means for 4 different material colors as well as loading/saving it in XML for use with OpenGL.
Definition at line 12 of file OpenGLMaterial.h.
|
Method details: Binds this material as current one Implements CMaterial. Definition at line 24 of file OpenGLMaterial.cpp. |
|
Method details: Clean-up Reimplemented from CMaterial. Definition at line 35 of file OpenGLMaterial.cpp. |
|
Method details: This is an implementation of Custom RTTI Reimplemented from CMaterial. Definition at line 40 of file OpenGLMaterial.cpp. References CXMLResource::IsOfType(). |
|
Method details:
Reimplemented from CMaterial. Definition at line 14 of file OpenGLMaterial.cpp. References CMaterial::LoadXML(). |
|
Method details:
Reimplemented from CMaterial. Definition at line 19 of file OpenGLMaterial.cpp. References CMaterial::SaveXML(). |