#include <GA_SharedDataHandle.h>
Definition at line 34 of file GA_SharedDataHandle.h.
- Parameters
-
filename | Filename to retrieve shared data from |
offset | Offset into file given (usually given from index, -1 if no index) |
loader | The loader to use to retrieve the shared data Setting the offset to -1 means that there was no index in the file. |
GA_SharedDataHandle::~GA_SharedDataHandle |
( |
| ) |
|
Forces the loading of the shared data immediately from the parser given. Used for backwards compatibility with files that do not have an index.
bool GA_SharedDataHandle::hasResolvedSharedData |
( |
| ) |
const |
Returns true if we have already resolved our shared data.
Called by shared data users when they want to retrieve the loaded data. After calling this function they should clear Their shared pointer to this object so the loaded data can be freed.
Called by shared data users to get metadata on the shared data that can be resolved though this handle. Note: This function will return NULL if we have already resolved our shared data (and hence stating it would not save time)
The documentation for this class was generated from the following file: