CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

iLoaderContext Struct Reference
[Loading & Saving support]

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. More...

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

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

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

virtual iTextureWrapperFindTexture (const char *name)=0
 Find a texture. More...

virtual iLightFindLight (const char *name)=0
 Find a light. More...


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.

Definition at line 50 of file ldrctxt.h.


Member Function Documentation

virtual iLight* iLoaderContext::FindLight const char *    name [pure virtual]
 

Find a light.

virtual iMaterialWrapper* iLoaderContext::FindMaterial const char *    name [pure virtual]
 

Find a material.

virtual iMeshFactoryWrapper* iLoaderContext::FindMeshFactory const char *    name [pure virtual]
 

Find a mesh factory.

virtual iMeshWrapper* iLoaderContext::FindMeshObject const char *    name [pure virtual]
 

Find a mesh object.

virtual iSector* iLoaderContext::FindSector const char *    name [pure virtual]
 

Find a sector.

virtual iTextureWrapper* iLoaderContext::FindTexture const char *    name [pure virtual]
 

Find a texture.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14