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

Public Types | |
| typedef std::map< int, trpgLightAttr > | LightMapType |
Public Member Functions | |
| trpgLightTable (void) | |
| Default constructor. | |
| trpgLightTable (const trpgLightTable &) | |
| Copy constructor. | |
| ~trpgLightTable (void) | |
| Destructor. | |
| int | AddLightAttr (const trpgLightAttr &) |
| Adds the given light attrib to the table and increments the total light attrib count. | |
| int | FindAddLightAttr (const trpgLightAttr &) |
| bool | GetNumLightAttrs (int &) const |
| Returns the number of light attrib in this table. | |
| const trpgLightAttr * | GetLightAttrRef (int) const |
| Returns a pointer to a light attrib from a given index. | |
| 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. | |
| trpgLightTable & | operator= (const trpgLightTable &) |
| operator | |
| LightMapType * | getLightMap () |
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 | |
| LightMapType | lightMap |
| Here we store the light attributes. | |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| typedef std::map<int,trpgLightAttr> trpgLightTable::LightMapType |
| trpgLightTable::trpgLightTable | ( | void | ) |
Default constructor.
| trpgLightTable::trpgLightTable | ( | const trpgLightTable & | ) |
Copy constructor.
| trpgLightTable::~trpgLightTable | ( | void | ) |
Destructor.
| int trpgLightTable::AddLightAttr | ( | const trpgLightAttr & | ) |
Adds the given light attrib to the table and increments the total light attrib count.
| int trpgLightTable::FindAddLightAttr | ( | const trpgLightAttr & | ) |
Returns the number of light attrib in this table.
| const trpgLightAttr* trpgLightTable::GetLightAttrRef | ( | int | ) | const |
Returns a pointer to a light attrib from a given index.
| bool trpgLightTable::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.
|
virtual |
Reads this class from a read buffer.
Reimplemented from trpgReadWriteable.
|
virtual |
Prints this class to a print buffer.
Reimplemented from trpgReadWriteable.
| trpgLightTable& trpgLightTable::operator= | ( | const trpgLightTable & | ) |
operator
|
inline |
|
protected |
Here we store the light attributes.