MeshImporter.h file
Functions
- auto ImportGLTF(const std::string& srcPath, const std::string& outPath) -> bool
- auto ImportGLTFToAsset(const std::string& srcPath, MeshAsset& outAsset) -> bool
Function documentation
bool ImportGLTF(const std::string& srcPath, const std::string& outPath)
Import a glTF file and write the result as .tnxmesh binary. Returns true on success.
bool ImportGLTFToAsset(const std::string& srcPath, MeshAsset& outAsset)
Import a glTF file into a MeshAsset in memory (no file write). Returns true on success.