Contents, API Reference, Interfaces, iPathEngine, collisionPreprocessVersionIsCompatible
iPathEngine::collisionPreprocessVersionIsCompatible()
Description
Used to check if persistent data saved out for collision preprocess from an older version of the library
can be loaded into this version.
Syntax
bool collisionPreprocessVersionIsCompatible(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::saveCollisionPreprocessFor().
See Also
iMesh::loadCollisionPreprocessFor()