initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#ifndef HYDRALIGHTSYSTEM
|
||||
#define HYDRALIGHTSYSTEM
|
||||
|
||||
#include "../../engine/HydraObject.h"
|
||||
#include "../HydraSystem.h"
|
||||
#include "../components/HydraLightComponent.h"
|
||||
#include <GLMIncludes.h>
|
||||
#include <queue>
|
||||
#include <vector>
|
||||
|
||||
|
||||
|
||||
class HydraLightSystem : public HydraSystem
|
||||
{
|
||||
public:
|
||||
void Initialise() override;
|
||||
uint32_t GetLightCount();
|
||||
protected:
|
||||
void InitialiseComponent(HydraID entity_id) override;
|
||||
virtual void UpdateSystem(float delta_t_seconds);
|
||||
private:
|
||||
void _WriteToGPU();
|
||||
HydraID m_light_buffer_id = INVALID_HYDRA_ID;
|
||||
std::vector<HydraLightComponent> m_lights;
|
||||
|
||||
};
|
||||
#endif /* HYDRALIGHTSYSTEM */
|
||||
Reference in New Issue
Block a user