Public Member Functions | |
RenderThread (ImageBlock &block) | |
void | renderScene (const std::string &filename) |
bool | isBusy () |
void | stopRendering () |
float | getProgress () |
Protected Attributes | |
Scene * | m_scene = nullptr |
ImageBlock & | m_block |
std::thread | m_render_thread |
std::atomic< int > | m_render_status |
std::atomic< float > | m_progress |
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.