3700 FPS here we go

This commit is contained in:
Dynamitos
2021-04-25 23:43:40 +02:00
parent 312ae2af9a
commit 4a078bd24c
35 changed files with 160 additions and 73 deletions
+16
View File
@@ -0,0 +1,16 @@
#pragma once
#include "Containers/Array.h"
namespace Seele
{
class SceneUpdater
{
public:
SceneUpdater();
~SceneUpdater();
private:
Array<std::thread> workers;
List<std::function<void(float)> pendingUpdates;
void work();
};
} // namespace Seele