GLFX::ISceneLoader Struct Reference

#include <glfx.h>

Inheritance diagram for GLFX::ISceneLoader:

GLFX::IObject List of all members.

Detailed Description

Override this if you want to provide enable loading of custom scenes.


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


Member Function Documentation

virtual bool GLFX::ISceneLoader::Initialize ( EffectManager fxMgr  )  [pure virtual]

Initialize scene loader.

Called after registring the model with EffectManager::RegisterSceneLoader.

Parameters:
fxMgr EffectManager in which the loader is registred
Returns:
true if successful

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.

Parameters:
fileName scene file name
Returns:
true if successful

virtual bool GLFX::ISceneLoader::LoadScene ( const char *  fileName,
ISceneBuilder sceneBuilder 
) [pure virtual]

Load a scene from file using the provided ISceneBuilder.

Parameters:
fileName scene file name
sceneBuilder ISceneBuilder implementation
Returns:
true if successful


The documentation for this struct was generated from the following file:
SourceForge.net Logo