Files
HydraV3/HydraEngine/source/ecs/systems/HydraSpotShadowSourceSystem.h
T

32 lines
761 B
C++
Raw Normal View History

2026-08-04 22:40:48 +01:00
#ifndef HYDRASPOTSHADOWSOURCESYSTEM
#define HYDRASPOTSHADOWSOURCESYSTEM
#include "../../engine/HydraObject.h"
#include "../HydraSystem.h"
#include "../components/HydraSpotShadowSourceComponent.h"
#include <GLMIncludes.h>
#include <queue>
#include <vector>
#include <mutex>
class HydraSpotShadowSourceSystem : public HydraSystem
{
public:
virtual void Initialise() override;
protected:
void InitialiseComponent(HydraID entity_id) override;
void UpdateSystem(float delta_t_seconds) override;
private:
void _UpdateShadowMap(HydraID entity_id);
void _InitialiseShadowMap(HydraID entity_id);
2026-08-06 21:11:33 +01:00
2026-08-04 22:40:48 +01:00
std::mutex m_mutex;
};
#endif /* HYDRASPOTSHADOWSOURCESYSTEM */