![]() |
Public API Reference |
#include <ldrctxt.h>
Inheritance diagram for iLoaderContext:
Public Methods | |
virtual iSector * | FindSector (const char *name)=0 |
Find a sector. More... | |
virtual iMaterialWrapper * | FindMaterial (const char *name)=0 |
Find a material. More... | |
virtual iMeshFactoryWrapper * | FindMeshFactory (const char *name)=0 |
Find a mesh factory. More... | |
virtual iMeshWrapper * | FindMeshObject (const char *name)=0 |
Find a mesh object. More... | |
virtual iTextureWrapper * | FindTexture (const char *name)=0 |
Find a texture. More... | |
virtual iLight * | FindLight (const char *name)=0 |
Find a light. More... |
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.
|
Find a light.
|
|
Find a material.
|
|
Find a mesh factory.
|
|
Find a mesh object.
|
|
Find a sector.
|
|
Find a texture.
|