Files
HydraV3/HydraEngine/source/ecs/components/HydraDirectionalShadowSourceComponent.h
T
2026-08-06 21:11:33 +01:00

19 lines
485 B
C

#ifndef HYDRADIRECTIONALSHADOWSOURCECOMPONENT
#define HYDRADIRECTIONALSHADOWSOURCECOMPONENT
#include "../../engine/HydraEngine.h"
struct HydraDirectionalShadowSourceComponent
{
uint32_t entity_id;
uint32_t shadow_id;
uint32_t shadow_texture_id;
uint32_t frame_buffer_id;
float near_plane[8];
float far_plane[8];
alignas(16) glm::mat4 light_space_proj[6];
alignas(16) glm::mat4 light_space_view[6];
};
#endif /* HYDRACASTERCOMPONENT */