MinVR  0.9.0
A multi-platform virtual reality library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Static Public Attributes | List of all members
MinVR::RenderThread Class Reference

Public Types

enum  RenderingState { RENDERING_WAIT = 0, RENDERING_START, RENDERING_TERMINATE }
 

Public Member Functions

 RenderThread (WindowRef window, AbstractMVREngine *engine, AbstractMVRAppRef app, boost::barrier *swapBarrier, boost::mutex *initializedMutex, boost::condition_variable *initializedCondition, boost::mutex *startRenderingMutex, boost::mutex *renderingCompleteMutex, boost::condition_variable *startRenderingCond, boost::condition_variable *renderingCompleteCond)
 
 ~RenderThread ()
 

Static Public Attributes

static RenderingState renderingState
 
static int numThreadsReceivedStartRendering
 
static int numThreadsReceivedRenderingComplete
 
static int numRenderingThreads
 
static int nextThreadId
 
static int numThreadsInitComplete
 

Member Enumeration Documentation

Enumerator
RENDERING_WAIT 
RENDERING_START 
RENDERING_TERMINATE 

Constructor & Destructor Documentation

MinVR::RenderThread::RenderThread ( WindowRef  window,
AbstractMVREngine engine,
AbstractMVRAppRef  app,
boost::barrier *  swapBarrier,
boost::mutex *  initializedMutex,
boost::condition_variable *  initializedCondition,
boost::mutex *  startRenderingMutex,
boost::mutex *  renderingCompleteMutex,
boost::condition_variable *  startRenderingCond,
boost::condition_variable *  renderingCompleteCond 
)
MinVR::RenderThread::~RenderThread ( )

Member Data Documentation

int MinVR::RenderThread::nextThreadId
static
int MinVR::RenderThread::numRenderingThreads
static
int MinVR::RenderThread::numThreadsInitComplete
static
int MinVR::RenderThread::numThreadsReceivedRenderingComplete
static
int MinVR::RenderThread::numThreadsReceivedStartRendering
static
RenderingState MinVR::RenderThread::renderingState
static

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