diff --git a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_ShadowMaps.h b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_ShadowMaps.h index bf84634e1d..5eb6eb6dbe 100644 --- a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_ShadowMaps.h +++ b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_ShadowMaps.h @@ -67,6 +67,14 @@ class ERS_CLASS_ShadowMaps { */ void GetDepthMaps(std::vector* DepthMaps, std::vector* LightPositions); + /** + * @brief Determines which depth maps should be updated, and also deallocates those on lights that are no longer being used. + * + * @param DepthMaps + * @param LightPositions + */ + void PrioritizeDepthMaps(std::vector* DepthMaps, std::vector* LightPositions); + public: