|
Developer Documentation
|
Functions | |
| DLLEXPORT UpdateType | addUpdateType (QString _name, bool _resetNeeded=true) |
| Adds a updateType and returns the id for the new type. | |
| DLLEXPORT UpdateType | updateType (QString _name) |
| Given an UpdateType Identifier string this function will return the id of the UpdateType. | |
| DLLEXPORT QString | updateTypeName (UpdateType _id) |
| Get the name of a type with given id. | |
| DLLEXPORT uint | updateTypeCount () |
| Get the number of registered types. | |
Use these functions to add custom update types at runtime.
| DLLEXPORT UpdateType addUpdateType | ( | QString | _name, |
| bool | _resetNeeded = true |
||
| ) |
Adds a updateType and returns the id for the new type.
Adds a UpdateType and returns the id for the new type
| _name | Internal name for the new UpdateType |
| _resetNeeded | If a sceneGraph reset is needed for this update |
Definition at line 224 of file UpdateType.cc.
| DLLEXPORT uint updateTypeCount | ( | ) |
Get the number of registered types.
This function will return the number of types registered to the core. You can use it to iterate over all types.
Definition at line 277 of file UpdateType.cc.
| DLLEXPORT QString updateTypeName | ( | UpdateType | _id | ) |
Get the name of a type with given id.
The ids are organized in a bit field. So use either the macro for getting the type id or use the id directly (they have to be power of 2! ... Bit field)
Definition at line 262 of file UpdateType.cc.