#include <glfx.h>
Inheritance diagram for GLFX::ISceneLoader:
Public Member Functions | |
virtual bool | Initialize (EffectManager *fxMgr)=0 |
virtual bool | IsFileSupported (const char *fileName)=0 |
virtual bool | LoadScene (const char *fileName, ISceneBuilder *sceneBuilder)=0 |
virtual bool GLFX::ISceneLoader::Initialize | ( | EffectManager * | fxMgr | ) | [pure virtual] |
Initialize scene loader.
Called after registring the model with EffectManager::RegisterSceneLoader.
fxMgr | EffectManager in which the loader is registred |
virtual bool GLFX::ISceneLoader::IsFileSupported | ( | const char * | fileName | ) | [pure virtual] |
Test if the given file is supported.
This method usually looks only at the file extension.
fileName | scene file name |
virtual bool GLFX::ISceneLoader::LoadScene | ( | const char * | fileName, | |
ISceneBuilder * | sceneBuilder | |||
) | [pure virtual] |
Load a scene from file using the provided ISceneBuilder.
fileName | scene file name | |
sceneBuilder | ISceneBuilder implementation |