|PathEngine home||previous: ||next: |
Constructs an iMesh object from a data buffer containing a 3d ground mesh.
std::unique_ptr<iMesh> loadMeshFromBuffer(const char* format, char const * data_Buffer, uint32_t data_BufferEntries, const char *const* options)
A C string specifying the format of the data in the buffer.
Currently this can be "xml" or "tok" (lower case).|
This format string is not retained after the call and can subsequently be safely deleted.
|options||A set of attribute and value pairs that can be used to control some aspects of the mesh loading process.|
If the data passed in is valid then a newly created
Otherwise non-fatal errors will be reported relating to the validation failure and zero will be returned.
"xml" indicates that the buffer should be parsed as XML.
"tok" indicates that the buffer should be treated as tokenised XML.
Tokenised XML represents the same structure as XML but results in a smaller file size. See
Mesh loadMeshFromBuffer(string format, byte data, string options);
Mesh loadMeshFromBuffer(String format, byte data, String options);
|Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEngine||next: |