18 #ifndef __H__OCULAR_RESOURCES_RESOURCE_MEMORY_DETAILS__H__
19 #define __H__OCULAR_RESOURCES_RESOURCE_MEMORY_DETAILS__H__
21 #include "Resource.hpp"
22 #include <unordered_map>
77 uint64_t m_TotalUsage;
79 std::unordered_map<ResourceType, uint64_t> m_MemoryMap;
uint64_t getMemoryUsage(ResourceType type) const
Definition: ResourceMemoryDetails.cpp:80
void resourceUnloaded(Resource const *resource)
Definition: ResourceMemoryDetails.cpp:63
uint64_t getTotalMemoryUsage() const
Definition: ResourceMemoryDetails.cpp:75
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: ResourceMemoryDetails.hpp:41
void resourceLoaded(Resource const *resource)
Definition: ResourceMemoryDetails.cpp:51
Definition: Resource.hpp:46