Elaztek Developer Hub
Blamite Game Engine - blam!  00357.06.18.22.0809.blamite
The core library for the Blamite Game Engine.
MainLoopMultiThreaded.cpp File Reference
#include "OGRE/OgrePrerequisites.h"
#include <iostream>
#include "components/3rdparty/ogre2/System/MainEntryPoints.h"
#include "components/3rdparty/ogre2/GraphicsSystem.h"
#include "components/3rdparty/ogre2/LogicSystem.h"
#include "components/3rdparty/ogre2/GameState.h"
#include "components/3rdparty/ogre2/SdlInputHandler.h"
#include "components/3rdparty/ogre2/Threading/YieldTimer.h"
#include "OGRE/OgreWindow.h"
#include "OGRE/OgreTimer.h"
#include "OGRE/Threading/OgreThreads.h"
#include "OGRE/Threading/OgreBarrier.h"

Classes

struct  ThreadData
 

Functions

unsigned long renderThread (Ogre::ThreadHandle *threadHandle)
 
unsigned long logicThread (Ogre::ThreadHandle *threadHandle)
 
 THREAD_DECLARE (renderThread)
 
 THREAD_DECLARE (logicThread)
 
unsigned long renderThreadApp (Ogre::ThreadHandle *threadHandle)
 

Function Documentation

◆ logicThread()

unsigned long logicThread ( Ogre::ThreadHandle *  threadHandle)

◆ renderThread()

unsigned long renderThread ( Ogre::ThreadHandle *  threadHandle)

◆ renderThreadApp()

unsigned long renderThreadApp ( Ogre::ThreadHandle *  threadHandle)

◆ THREAD_DECLARE() [1/2]

THREAD_DECLARE ( logicThread  )

◆ THREAD_DECLARE() [2/2]

THREAD_DECLARE ( renderThread  )