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

Classes | |
| class | SubImageInfo |
Public Member Functions | |
| trpgLocalMaterial (void) | |
| ~trpgLocalMaterial (void) | |
| void | SetBaseMaterial (int32 matSubTable, int32 matID) |
| Set the base material for this local material. More... | |
| bool | GetBaseMaterial (int32 &matSubTable, int32 &matID) const |
| void | SetSubImageInfo (const SubImageInfo &) |
| Set the sub image info (only for writers) More... | |
| bool | GetSubImageInfo (SubImageInfo &) const |
| void | SetAddr (const trpgwAppAddress &) |
| Set the address info (only for writers) More... | |
| void | SetNthAddr (unsigned int subtable, const trpgwAppAddress &) |
| Set address info for one of multiple local textures. More... | |
| bool | GetAddr (trpgwAppAddress &) const |
| bool | GetNthAddr (unsigned int subtable, trpgwAppAddress &) const |
| Get address info for one of multiple local textures. More... | |
| bool | GetNumLocals (int &) const |
| Get the number of local images associated with this local material Tile Local Images only. More... | |
| bool | isValid (void) const |
| Set the storage sizes for all mipmap levels bool SetStorageSizes(vector<int> &);. More... | |
| void | Reset (void) |
| Reads this class from a read buffer. More... | |
| bool | Write (trpgWriteBuffer &) |
| Writes this class to a write buffer. More... | |
| bool | Read (trpgReadBuffer &) |
| Reads this class from a read buffer. More... | |
| bool | Print (trpgPrintBuffer &) const |
| Prints this class to a print buffer. More... | |
Public Member Functions inherited from trpgReadWriteable | |
| trpgReadWriteable () | |
| const char * | getErrMess () const |
Public Member Functions inherited from trpgCheckable | |
| trpgCheckable (void) | |
| virtual | ~trpgCheckable (void) |
| bool | isValid (void) const |
| Returns the state of the valid flag, or can be overriden by a subclass to do a more complex check. More... | |
| virtual TeAttrHdl | GetHandle () const |
| virtual void | SetHandle (TeAttrHdl hdl) |
Protected Attributes | |
| int32 | baseMatTable |
| int32 | baseMat |
| int32 | sx |
| These are valid for Global images. More... | |
| int32 | sy |
| int32 | ex |
| int32 | ey |
| int32 | destWidth |
| int32 | destHeight |
| std::vector< trpgwAppAddress > | addr |
| Storage sizes for each mipmap level. More... | |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| trpgLocalMaterial::trpgLocalMaterial | ( | void | ) |
| trpgLocalMaterial::~trpgLocalMaterial | ( | void | ) |
Set the base material for this local material.
| void trpgLocalMaterial::SetSubImageInfo | ( | const SubImageInfo & | ) |
Set the sub image info (only for writers)
| bool trpgLocalMaterial::GetSubImageInfo | ( | SubImageInfo & | ) | const |
| void trpgLocalMaterial::SetAddr | ( | const trpgwAppAddress & | ) |
Set the address info (only for writers)
| void trpgLocalMaterial::SetNthAddr | ( | unsigned int | subtable, |
| const trpgwAppAddress & | |||
| ) |
Set address info for one of multiple local textures.
| bool trpgLocalMaterial::GetAddr | ( | trpgwAppAddress & | ) | const |
| bool trpgLocalMaterial::GetNthAddr | ( | unsigned int | subtable, |
| trpgwAppAddress & | |||
| ) | const |
Get address info for one of multiple local textures.
Get the number of local images associated with this local material Tile Local Images only.
| bool trpgLocalMaterial::isValid | ( | void | ) | const |
Set the storage sizes for all mipmap levels bool SetStorageSizes(vector<int> &);.
Get the storage sizes for all mipmap levels. bool GetStorageSizes(const vector<int> *) const; Validity check
|
virtual |
Reads this class from a read buffer.
Implements trpgReadWriteable.
|
virtual |
Writes this class to a write buffer.
Implements trpgReadWriteable.
|
virtual |
Reads this class from a read buffer.
Reimplemented from trpgReadWriteable.
|
virtual |
Prints this class to a print buffer.
Reimplemented from trpgReadWriteable.
|
protected |
|
protected |
|
protected |
These are valid for Global images.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Storage sizes for each mipmap level.
Important for compressed textures. vector<int> storageSize; This is valid only for Tile Local images