MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Export

Method Export

include/MeshUnmanaged.hpp:191–195  ·  view source on GitHub ↗

* Export mesh data to file * * @throws raylib::RaylibException Throws if failed to export the Mesh. */

Source from the content-addressed store, hash-verified

189 * @throws raylib::RaylibException Throws if failed to export the Mesh.
190 */
191 void Export(const std::string& fileName) {
192 if (!::ExportMesh(*this, fileName.c_str())) {
193 throw RaylibException("Failed to export the Mesh");
194 }
195 }
196
197 /**
198 * Export mesh as code file (.h) defining multiple arrays of vertex attributes

Callers

nothing calls this directly

Calls 2

RaylibExceptionClass · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected