SO3Engine
Public Member Functions | Static Public Member Functions | List of all members
SO3::SResourceLoader Class Reference

#include <SO3ResourceLoader.h>

Inheritance diagram for SO3::SResourceLoader:

Public Member Functions

 SResourceLoader ()
 
 ~SResourceLoader ()
 
void SetResourceScene (SScene *scene)
 
void SyncParsedMaterials ()
 
virtual bool handleEvent (Ogre::ScriptCompiler *compiler, Ogre::ScriptCompilerEvent *evt, void *retval)
 

Static Public Member Functions

static SResourceLoadergetSingleton ()
 
static SResourceLoadergetSingletonPtr ()
 

Detailed Description

Definition at line 41 of file SO3ResourceLoader.h.

Constructor & Destructor Documentation

◆ SResourceLoader()

SResourceLoader::SResourceLoader ( )

ctor

Definition at line 17 of file SO3ResourceLoader.cpp.

◆ ~SResourceLoader()

SResourceLoader::~SResourceLoader ( )

dtor

Definition at line 22 of file SO3ResourceLoader.cpp.

Member Function Documentation

◆ getSingleton()

SResourceLoader & SResourceLoader::getSingleton ( )
static

Definition at line 31 of file SO3ResourceLoader.cpp.

◆ getSingletonPtr()

SResourceLoader * SResourceLoader::getSingletonPtr ( )
static

Definition at line 26 of file SO3ResourceLoader.cpp.

◆ handleEvent()

bool SResourceLoader::handleEvent ( Ogre::ScriptCompiler *  compiler,
Ogre::ScriptCompilerEvent *  evt,
void *  retval 
)
virtual

Definition at line 54 of file SO3ResourceLoader.cpp.

◆ SetResourceScene()

void SResourceLoader::SetResourceScene ( SScene scene)

In so3, resources are handled by scene. This little hack is necessary to setup the scene that is currently loading a resource. See SScene::ParseResourceScript for usage.

Definition at line 37 of file SO3ResourceLoader.cpp.

◆ SyncParsedMaterials()

void SResourceLoader::SyncParsedMaterials ( )

Definition at line 42 of file SO3ResourceLoader.cpp.


The documentation for this class was generated from the following files: