Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Public Member Functions
AngelOgre::MeshManager Class Reference

Description

a singleton - use Ogre::MeshManager::getSingleton() to retrieve instance.

Errors are forwarded as SE_GENERIC_EXCEPTION_CAUGHT script events.

Definition at line 15 of file AngelOgre_MeshManager.h.

Public Member Functions

MeshPtr load (const string &in file, const string &in rg)
 
void remove (const string &in file, const string &in rg)
 

Member Function Documentation

◆ load()

MeshPtr AngelOgre::MeshManager::load ( const string &in  file,
const string &in  rg 
)

Loads a mesh (or returns it if already loaded).

Parameters
fileMesh file name, e.g. "sphere.mesh".
rgResource group.
Returns
The mesh, or a null pointer on error.

◆ remove()

void AngelOgre::MeshManager::remove ( const string &in  file,
const string &in  rg 
)

Unloads the mesh and removes it from the manager.


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