Documentation
















  Site Hosted by:

SourceForge.net Logo


Support This Project


ad::MeshCacher Class Reference

Loads and caches meshes by filename. More...

#include <mesh.h>

Collaboration diagram for ad::MeshCacher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void release ()
 release the instance of the singleton.
Mesh * GetMesh (std::string filename, UserFunction *fp=0)
 returns instance of loaded adm file, or loads it if it isn't already.

Static Public Member Functions

static MeshCacher * instance ()
 get the instance of the singlton.

Detailed Description

Loads and caches meshes by filename.

Loads a mesh and keeps track of the instances of previously loaded meshes. This is a singleton, use MeshCacher::instance() to use it.

See also:
ad::Mesh


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

© Copyright 2005 John Butterfield.
All Rights Reserved.