Contents, API Reference, Interfaces, iPathEngine, pathfindPreprocessVersionIsCompatible
iPathEngine::pathfindPreprocessVersionIsCompatible()
Description
Used to check if persistent data saved out for pathfinding preprocess from an older version of the library
can be loaded into this version.
Syntax
bool pathfindPreprocessVersionIsCompatible(const char* dataBuffer, tUnsigned32 bufferSize); |
Parameters
| dataBuffer | | A byte buffer. This buffer is not retained after the call and can subsequently be safely deleted. |
| bufferSize | | The size of the buffer pointed to by dataBuffer, in bytes. |
Return Value
Returns true if the persistent data can be loaded into this version of the library,
otherwise false.
Remarks
The buffer passed in must contain data previously saved out by
iMesh::savePathfindPreprocessFor().
See Also
iMesh::loadPathfindPreprocessFor()