Caches of Renderer data. This class treats all stored caches as garbage and actively cleans them up. More...
#include <RendererCache.h>
Public Member Functions | |
| RendererCache ()=default | |
| Constructor Function. | |
| virtual | ~RendererCache () |
| Destructor Function. | |
| template<typename T > | |
| void | PushToCaches (T &&any) |
| Push a garbage to caches. | |
| void | ClearCaches () |
| Clear all caches. | |
Private Attributes | |
| std::vector< std::any > | m_Caches |
| Renderer caches data. | |
| std::mutex | m_Mutex |
| This caches mutex. | |
Caches of Renderer data. This class treats all stored caches as garbage and actively cleans them up.
Definition at line 17 of file RendererCache.h.