#include <string>
#include "iscenegraph.h"
#include "imodel.h"
Go to the source code of this file.
Namespaces | |
namespace | scene |
Defines | |
#define | INCLUDED_REFERENCECACHE_H |
Typedefs | |
typedef void(* | GraphTraversalFunc )(scene::Node &root, const scene::Traversable::Walker &walker) |
Functions | |
void | SaveReferences () |
Saves all open resource references if they differ from the version on disk. | |
void | FlushReferences () |
Flushes the cache of resource references. All resource references must be released before calling this. | |
void | RefreshReferences () |
Reloads all resource references that differ from the version on disk. | |
bool | MapResource_saveFile (const MapFormat &format, scene::Node &root, GraphTraversalFunc traverse, const std::string &filename) |
ModelLoader * | ModelLoader_forType (const std::string &type) |
#define INCLUDED_REFERENCECACHE_H |
Definition at line 23 of file referencecache.h.
typedef void(* GraphTraversalFunc)(scene::Node &root, const scene::Traversable::Walker &walker) |
Definition at line 40 of file referencecache.h.
void FlushReferences | ( | ) |
Flushes the cache of resource references. All resource references must be released before calling this.
bool MapResource_saveFile | ( | const MapFormat & | format, | |
scene::Node & | root, | |||
GraphTraversalFunc | traverse, | |||
const std::string & | filename | |||
) |
ModelLoader* ModelLoader_forType | ( | const std::string & | type | ) |
void RefreshReferences | ( | ) |
Reloads all resource references that differ from the version on disk.
void SaveReferences | ( | ) |
Saves all open resource references if they differ from the version on disk.