VOX
A little voxel engine
Loading...
Searching...
No Matches
BlockUpdateThread.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
define.hpp
"
4
#include "
ClientWorld.hpp
"
5
#include "
RenderAPI.hpp
"
6
#include "
DebugGui.hpp
"
7
#include "Tracy.hpp"
8
#include "
tracy_globals.hpp
"
9
20
class
BlockUpdateThread
21
{
22
public
:
23
24
BlockUpdateThread
(
25
ClientWorld
& world
26
);
27
~BlockUpdateThread
();
28
29
BlockUpdateThread
(
BlockUpdateThread
& other) =
delete
;
30
BlockUpdateThread
(
BlockUpdateThread
&& other) =
delete
;
31
BlockUpdateThread
&
operator=
(
BlockUpdateThread
& other) =
delete
;
32
33
private
:
34
35
ClientWorld
& m_world;
36
37
std::jthread m_thread;
38
43
void
launch();
44
48
void
init();
49
53
void
loop();
54
};
ClientWorld.hpp
DebugGui.hpp
RenderAPI.hpp
BlockUpdateThread
An implementation of the thread wrapper for the thread that handles block updates.
Definition:
BlockUpdateThread.hpp:21
BlockUpdateThread::~BlockUpdateThread
~BlockUpdateThread()
Definition:
BlockUpdateThread.cpp:13
BlockUpdateThread::BlockUpdateThread
BlockUpdateThread(BlockUpdateThread &other)=delete
BlockUpdateThread::operator=
BlockUpdateThread & operator=(BlockUpdateThread &other)=delete
BlockUpdateThread::BlockUpdateThread
BlockUpdateThread(BlockUpdateThread &&other)=delete
ClientWorld
Definition:
ClientWorld.hpp:26
define.hpp
tracy_globals.hpp
src
app
threads
block_update
BlockUpdateThread.hpp
Generated by
1.9.5