Implementing ECS SystemBase and updating slang

This commit is contained in:
Dynamitos
2022-11-15 12:19:11 +01:00
parent 05bc31a2b4
commit f635ee2100
106 changed files with 1083 additions and 1675 deletions
+5
View File
@@ -1,8 +1,10 @@
#pragma once
#include <thread_pool/thread_pool.h>
#include "View.h"
#include "Graphics/RenderPass/DepthPrepass.h"
#include "Graphics/RenderPass/LightCullingPass.h"
#include "Graphics/RenderPass/BasePass.h"
#include "Scene/System/CameraSystem.h"
namespace Seele
{
DECLARE_REF(Scene)
@@ -33,6 +35,9 @@ private:
LightCullingPassData lightCullingPassData;
BasePassData basePassData;
dp::thread_pool<> pool;
System::CameraSystem cameraSystem;
virtual void keyCallback(KeyCode code, InputAction action, KeyModifier modifier) override;
virtual void mouseMoveCallback(double xPos, double yPos) override;
virtual void mouseButtonCallback(MouseButton button, InputAction action, KeyModifier modifier) override;