![]() |
VR-Forces Developer's Guide
|

Public Types | |
| typedef std::map< int, trpgLightAttr > | LightMapType |
Public Member Functions | |
| trpgLightTable (void) | |
| trpgLightTable (const trpgLightTable &) | |
| virtual | ~trpgLightTable (void) override |
| int | AddLightAttr (const trpgLightAttr &) |
| int | FindAddLightAttr (const trpgLightAttr &) |
| bool | GetNumLightAttrs (int &) const |
| const trpgLightAttr * | GetLightAttrRef (int) const |
| bool | isValid (void) const |
| virtual void | Reset (void) override |
| virtual bool | Write (trpgWriteBuffer &) override |
| virtual bool | Read (trpgReadBuffer &) override |
| virtual bool | Print (trpgPrintBuffer &) const override |
| trpgLightTable & | operator= (const trpgLightTable &) |
| LightMapType * | getLightMap () |
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 |
| virtual TeAttrHdl | GetHandle () const |
| virtual void | SetHandle (TeAttrHdl hdl) |
Protected Attributes | |
| LightMapType | lightMap |
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.
|
overridevirtual |
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.
|
overridevirtual |
Resets the contents back to empty.
Implements trpgReadWriteable.
|
overridevirtual |
Writes this class to a write buffer.
Implements trpgReadWriteable.
|
overridevirtual |
Reads this class from a read buffer.
Reimplemented from trpgReadWriteable.
|
overridevirtual |
Prints this class to a print buffer.
Reimplemented from trpgReadWriteable.
| trpgLightTable& trpgLightTable::operator= | ( | const trpgLightTable & | ) |
operator
|
inline |
|
protected |
Here we store the light attributes.