XEngine::Drawable Class Reference
[XEngine]
#include <Drawable.h>
Detailed Description
- Author:
- Koray Balci
- Version:
- 1.0
- Date:
- May 2003
We store the Drawable instances for head, eyes, etc in RenderList object. Renderer (or derived RendererGL) class use the information in Drawable class and retrieves the appropriate data and renders them.
Public Member Functions | |
Drawable * | clone (bool duplicateData=true) const |
void | enableTexture (bool mode) |
Enable texture mapping on/off for this drawable. | |
bool | isTextureOn () const |
Query if texture mapping is enabled. | |
Drawable () | |
Default CTor. | |
~Drawable () | |
DTor (not virtual!). | |
void | setMeshName (const std::string &MeshName) |
Sets the name of associated mesh. | |
const std::string & | getMeshName () const |
Retrieves the name of associated mesh. | |
void | setTexName (const std::string id, unsigned short layer=0) |
const std::string & | getTexName (unsigned short layer=0) const |
Member Function Documentation
|
clones the drawable object instance. duplicates data by creating a new Geometry (DeformableGeometry) object and copying the data content by calling Geometry::copyFrom method if duplicateData parameter is true. |
|
Retrieves the name of the texture for each layer. Default parameter use the first texture unit.
|
|
Sets the name of the texture for each layer. Default parameter use the first texture unit.
|
The documentation for this class was generated from the following file:
Generated on Mon Aug 28 15:39:25 2006 for Xface Core Library by
