Nori  23
RenderThread Class Reference
Collaboration diagram for RenderThread:

Public Member Functions

 RenderThread (ImageBlock &block)
 
void renderScene (const std::string &filename)
 
bool isBusy ()
 
void stopRendering ()
 
float getProgress ()
 

Protected Attributes

Scenem_scene = nullptr
 
ImageBlockm_block
 
std::thread m_render_thread
 
std::atomic< int > m_render_status
 
std::atomic< float > m_progress
 

Detailed Description

Definition at line 29 of file render.h.

Member Function Documentation

◆ renderScene()

void RenderThread::renderScene ( const std::string &  filename)

Uncomment the following line for single threaded rendering

Default: parallel rendering

Definition at line 102 of file render.cpp.


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