From b1b3d283c73094028aa59e79eee5c48a2d25e699 Mon Sep 17 00:00:00 2001 From: datacrystals Date: Thu, 23 Jun 2022 04:24:43 +0000 Subject: [PATCH] Implement Settings To Control Rendering (#220) --- .../ERS_CLASS_VisualRenderer/ERS_CLASS_ShadowMaps.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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: