VOX
A little voxel engine
|
A wrapper for the thread that handles rendering. More...
#include <RenderThread.hpp>
Public Member Functions | |
RenderThread (const Settings &settings, RenderAPI &render_api, std::chrono::nanoseconds start_time) | |
Construct a new RenderThread object. More... | |
~RenderThread () | |
Destroy the RenderThread object. More... | |
RenderThread (RenderThread &renderer)=delete | |
RenderThread (RenderThread &&renderer)=delete | |
RenderThread & | operator= (RenderThread &renderer)=delete |
RenderThread & | operator= (RenderThread &&renderer)=delete |
A wrapper for the thread that handles rendering.
This thread will run at max framerate possible Interacts with the RenderAPI to draw the Scene Every function called from this class MUST be thread safe
RenderThread::RenderThread | ( | const Settings & | settings, |
RenderAPI & | render_api, | ||
std::chrono::nanoseconds | start_time | ||
) |
Construct a new RenderThread object.
RenderThread::~RenderThread | ( | ) |
Destroy the RenderThread object.
|
delete |
|
delete |
|
delete |
|
delete |