VOX
A little voxel engine
Loading...
Searching...
No Matches
RenderThread Class Reference

A wrapper for the thread that handles rendering. More...

#include <RenderThread.hpp>

Collaboration diagram for RenderThread:
Collaboration graph

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
 
RenderThreadoperator= (RenderThread &renderer)=delete
 
RenderThreadoperator= (RenderThread &&renderer)=delete
 

Detailed Description

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

Constructor & Destructor Documentation

◆ RenderThread() [1/3]

RenderThread::RenderThread ( const Settings settings,
RenderAPI render_api,
std::chrono::nanoseconds  start_time 
)

Construct a new RenderThread object.

◆ ~RenderThread()

RenderThread::~RenderThread ( )

Destroy the RenderThread object.

◆ RenderThread() [2/3]

RenderThread::RenderThread ( RenderThread renderer)
delete

◆ RenderThread() [3/3]

RenderThread::RenderThread ( RenderThread &&  renderer)
delete

Member Function Documentation

◆ operator=() [1/2]

RenderThread & RenderThread::operator= ( RenderThread &&  renderer)
delete

◆ operator=() [2/2]

RenderThread & RenderThread::operator= ( RenderThread renderer)
delete

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