Anvil Engine
Loading...
Searching...
No Matches
AMeshLoader Class Reference

#include <AMeshLoader.h>

Static Public Member Functions

static void ExportToAnvMesh (const std::string &inputPath, const std::string &outputPath)
 Exports a 3D mesh to AnvMesh format.
static AMeshLoadAnvMesh (const std::string &path)

Member Function Documentation

◆ ExportToAnvMesh()

void AMeshLoader::ExportToAnvMesh ( const std::string & input,
const std::string & output )
static

Exports a 3D mesh to AnvMesh format.

Parameters
inputPath to the input mesh file
outputPath to the output AnvMesh file

◆ LoadAnvMesh()

AMesh * AMeshLoader::LoadAnvMesh ( const std::string & path)
static

Loads a mesh from a file in the Anvil Engine mesh format.

Parameters
pathThe path to the mesh file.
Returns
A pointer to the loaded AMesh object, or nullptr if loading failed.

The documentation for this class was generated from the following files: