![]() |
VR-Forces 4.6.1 Class Documentation
|

Public Types | |
| typedef std::map< int, trpgTexture > | TextureMapType |
Public Member Functions | |
| trpgTexTable (void) | |
| trpgTexTable (const trpgTexTable &) | |
| ~trpgTexTable (void) | |
| void | SetNumTextures (int) |
| int | AddTexture (const trpgTexture &) |
| int | FindAddTexture (const trpgTexture &) |
| void | SetTexture (int texID, const trpgTexture &) |
| bool | GetNumTextures (int &) const |
| Returns the number of textures in this table. | |
| bool | GetTexture (int texID, trpgTexture &) const |
| This returns the trpgTexture corresponding to the given ID (from a trpgMaterial) | |
| const trpgTexture * | GetTextureRef (int) const |
| bool | isValid (void) const |
| Validity check. | |
| void | Reset (void) |
| Resets the contents back to empty. | |
| bool | Write (trpgWriteBuffer &) |
| Writes this class to a write buffer. | |
| bool | Read (trpgReadBuffer &) |
| Reads this class from a read buffer. | |
| bool | Print (trpgPrintBuffer &) const |
| Prints this class to a print buffer. | |
| trpgTexTable & | operator= (const trpgTexTable &) |
| const trpgTexture * | FindByName (const char *name, int &texid) const |
| void | SetCurrentBlock (int row, int col) |
| TextureMapType * | getTextureMap () |
Public Member Functions inherited from trpgReadWriteable | |
| trpgReadWriteable () | |
| const char * | getErrMess () const |
Public Member Functions inherited from trpgCheckable | |
| trpgCheckable (void) | |
| virtual | ~trpgCheckable (void) |
| virtual TeAttrHdl | GetHandle () const |
| virtual void | SetHandle (TeAttrHdl hdl) |
Protected Attributes | |
| TextureMapType | textureMap |
| int | currentRow |
| int | currentCol |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| typedef std::map<int,trpgTexture> trpgTexTable::TextureMapType |
| trpgTexTable::trpgTexTable | ( | void | ) |
| trpgTexTable::trpgTexTable | ( | const trpgTexTable & | ) |
| trpgTexTable::~trpgTexTable | ( | void | ) |
| void trpgTexTable::SetNumTextures | ( | int | ) |
| int trpgTexTable::AddTexture | ( | const trpgTexture & | ) |
| int trpgTexTable::FindAddTexture | ( | const trpgTexture & | ) |
| void trpgTexTable::SetTexture | ( | int | texID, |
| const trpgTexture & | |||
| ) |
| bool trpgTexTable::GetTexture | ( | int | texID, |
| trpgTexture & | |||
| ) | const |
This returns the trpgTexture corresponding to the given ID (from a trpgMaterial)
| const trpgTexture* trpgTexTable::GetTextureRef | ( | int | ) | const |
| bool trpgTexTable::isValid | ( | void | ) | const |
Validity check.
Reimplemented from trpgCheckable.
|
virtual |
Resets the contents back to empty.
Implements trpgReadWriteable.
|
virtual |
Writes this class to a write buffer.
Implements trpgReadWriteable.
Reimplemented in trpgTexTable1_0.
|
virtual |
Reads this class from a read buffer.
Reimplemented from trpgReadWriteable.
Reimplemented in trpgTexTable1_0.
|
virtual |
Prints this class to a print buffer.
Reimplemented from trpgReadWriteable.
| trpgTexTable& trpgTexTable::operator= | ( | const trpgTexTable & | ) |
| const trpgTexture* trpgTexTable::FindByName | ( | const char * | name, |
| int & | texid | ||
| ) | const |
|
inline |
|
protected |
|
protected |
|
protected |