referencecache.h File Reference

#include <string>
#include "iscenegraph.h"
#include "imodel.h"
Include dependency graph for referencecache.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)
ModelLoaderModelLoader_forType (const std::string &type)

Define Documentation

#define INCLUDED_REFERENCECACHE_H

Definition at line 23 of file referencecache.h.


Typedef Documentation

typedef void(* GraphTraversalFunc)(scene::Node &root, const scene::Traversable::Walker &walker)

Definition at line 40 of file referencecache.h.


Function Documentation

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.


Generated by  doxygen 1.6.2