Files
HydraV3/HydraEngine/source/ecs/components/HydraSpotShadowSourceComponent.h
T

19 lines
455 B
C
Raw Normal View History

2026-08-04 22:40:48 +01:00
#ifndef HYDRASPOTSHADOWCOMPONENT
#define HYDRASPOTSHADOWCOMPONENT
#include "../../engine/HydraEngine.h"
struct HydraSpotShadowSourceComponent
{
uint32_t entity_id;
2026-08-06 21:11:33 +01:00
uint32_t shadow_id;
2026-08-04 22:40:48 +01:00
uint32_t shadow_texture_id;
uint32_t frame_buffer_id;
float far_plane;
2026-08-06 21:11:33 +01:00
uint32_t padding[3];
alignas(16) glm::mat4 light_space_proj;
alignas(16) glm::mat4 light_space_view;
2026-08-04 22:40:48 +01:00
};
#endif /* HYDRASPOTSHADOWCOMPONENT */