Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iLoaderContext Struct Reference

This interface gives the context for the loader. More...

#include <ldrctxt.h>

Inheritance diagram for iLoaderContext:

iBase List of all members.

Public Methods

virtual iSectorFindSector (const char *name)=0
 Find a sector.

virtual iMaterialWrapperFindMaterial (const char *name)=0
 Find a material.

virtual iMeshFactoryWrapperFindMeshFactory (const char *name)=0
 Find a mesh factory.

virtual iMeshWrapperFindMeshObject (const char *name)=0
 Find a mesh object.


Detailed Description

This interface gives the context for the loader.

It basically gives loading plugins a way to find materials, meshes, and sectors. In all these cases region-qualified names can be used (i.e. 'regionname/objectname') or normal object names.

WARNING! When a context is created it should not be modified afterwards. Some loader plugins will keep a reference to the context when they support delayed loading. In that case they still need the original contents in the context. So a loader that creates a context should create a new one every time.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000