Files
HydraV3/HydraEngine/source/ecs/components/HydraPointShadowSourceComponent.h
T
2026-08-16 13:47:11 +01:00

19 lines
463 B
C

#ifndef HYDRAPOINTSHADOWSOUCECOMPONENT
#define HYDRAPOINTSHADOWSOUCECOMPONENT
#include "../../engine/HydraEngine.h"
struct HydraPointShadowSourceComponent
{
uint32_t entity_id;
uint32_t shadow_id;
uint32_t shadow_texture_id;
uint32_t frame_buffer_id;
float near_plane;
float far_plane;
uint32_t padding[2];
glm::mat4 light_space_proj;
glm::mat4 light_space_view[6];
};
#endif /* HYDRAPOINTSHADOWSOUCECOMPONENT */