PathEngine home previous: iPathEngine::loadFaceVertexMesh()next: iPathEngine::loadMeshFromBuffer()
Contents, API Reference, Interfaces, iPathEngine, loadFederation



Constructs an iMeshFederation object from a data buffer previously saved out by iMeshFederation::save().


std::unique_ptr<iMeshFederation> loadFederation(const char* format, char const * data_Buffer, uint32_t data_BufferEntries)


format A C string specifying the format of the data in the buffer. Currently this can be "xml" or "tok" (lower case).
The format string pointer is not retained after the call and can subsequently be safely deleted.
data_Buffer, data_BufferEntries (See Passing Arrays.) The data buffer to load from.

Return Value

A newly created Interface iMeshFederation object, constructed from the persistent data passed in.

See Also


C# Mapping

MeshFederation loadFederation(string format, byte[] data);

Java Mapping

MeshFederation loadFederation(String format, byte[] data);

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iPathEngine::loadMeshFromBuffer()