Name change, but backwards
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#ifndef HYDRADIRECTIONALSHADOWSOURCESYSTEM
|
||||
#define HYDRADIRECTIONALSHADOWSOURCESYSTEM
|
||||
#include "../../engine/HydraObject.h"
|
||||
#include "../HydraSystem.h"
|
||||
#include "../components/HydraDirectionalShadowSourceComponent.h"
|
||||
#include <GLMIncludes.h>
|
||||
#include <queue>
|
||||
#include <vector>
|
||||
#include <mutex>
|
||||
|
||||
class HydraDirectionalShadowSourceSystem : public HydraSystem
|
||||
{
|
||||
public:
|
||||
virtual void Initialise() override;
|
||||
protected:
|
||||
void InitialiseComponent(HydraID entity_id) override;
|
||||
void UpdateSystem(float delta_t_seconds) override;
|
||||
private:
|
||||
void _UpdateDirectionalLight(HydraID entity_id);
|
||||
void _InitialiseDirectionalLight(HydraID entity_id);
|
||||
void _WriteToGPU();
|
||||
HydraID m_shadow_buffer_id = INVALID_HYDRA_ID;
|
||||
std::queue<HydraID> m_available_shadows;
|
||||
std::vector<HydraDirectionalShadowSourceComponent> m_shadows;
|
||||
std::mutex m_mutex;
|
||||
|
||||
};
|
||||
|
||||
#endif /* HYDRASHADOWCASTERSYSTEM */
|
||||
Reference in New Issue
Block a user