csTextureManager Class Reference
General version of the texture manager. More...
#include <csplugincommon/render3d/txtmgr.h>
Inheritance diagram for csTextureManager:

Public Member Functions | |
virtual void | Clear () |
Clear (free) all textures. | |
csTextureManager (iObjectRegistry *object_reg, iGraphics2D *iG2D) | |
Initialize the texture manager. | |
virtual int | GetTextureFormat () |
Query the basic format of textures that can be registered with this texture manager. | |
virtual | ~csTextureManager () |
Destroy the texture manager. | |
Public Attributes | |
csStringID | nameDiffuseTexture |
csPixelFormat | pfmt |
Pixel format. | |
SCF_DECLARE_IBASE | |
csStringSet | texClassIDs |
Protected Types | |
typedef csWeakRefArray< csTextureHandle > | csTexVector |
Protected Member Functions | |
virtual void | read_config (iConfigFile *config) |
Read configuration values from config file. | |
Protected Attributes | |
iObjectRegistry * | object_reg |
csTexVector | textures |
List of textures. |
Detailed Description
General version of the texture manager.Each 3D driver should derive a texture manager class from this one and implement the missing functionality.
Definition at line 251 of file txtmgr.h.
Constructor & Destructor Documentation
|
Initialize the texture manager.
|
|
Destroy the texture manager.
|
Member Function Documentation
|
Clear (free) all textures.
|
|
Query the basic format of textures that can be registered with this texture manager. It is very likely that the texture manager will reject the texture if it is in an improper format. The alpha channel is optional; the texture can have it and can not have it. Only the bits that fit the CS_IMGFMT_MASK mask matters. Implements iTextureManager. |
|
Read configuration values from config file.
|
Member Data Documentation
|
Pixel format.
|
|
List of textures.
|
The documentation for this class was generated from the following file:
- csplugincommon/render3d/txtmgr.h
Generated for Crystal Space by doxygen 1.4.4