2026-07-28 00:26:04 +01:00
|
|
|
#ifndef HYDRASHADOWBUFFER
|
|
|
|
|
#define HYDRASHADOWBUFFER
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "../engine/HydraEngine.h"
|
2026-08-06 21:11:33 +01:00
|
|
|
#include "../ecs/components/HydraDirectionalShadowSourceComponent.h"
|
|
|
|
|
#include "../ecs/components/HydraSpotShadowSourceComponent.h"
|
|
|
|
|
|
2026-07-28 00:26:04 +01:00
|
|
|
struct HydraShadowBuffer
|
|
|
|
|
{
|
2026-08-06 21:11:33 +01:00
|
|
|
HydraDirectionalShadowSourceComponent directional_shadows[MAX_DIRECTIONAL_SHADOWS];
|
|
|
|
|
HydraSpotShadowSourceComponent spot_shadows[MAX_SPOT_SHADOWS];
|
2026-07-28 00:26:04 +01:00
|
|
|
};
|
|
|
|
|
#endif /* HYDRASHADOWBUFFER */
|