-- @/lua/ge/ge_utils.lua:1688
function dumpGfxResourcesMemory()
log('I', 'GFX memory profiler:','Calculating...')
local res = Engine.Render.calculateGfxMemory()
local resSorted = {}
for k, v in pairs(res) do
table.insert(resSorted, k);
end
table.sort(resSorted);
local v = 0
for _, k in ipairs(resSorted) do
v = math.floor(res[k] / 1024 / 1024)
if v > 0 then log('I', 'GFX memory profiler:', k .. " = " .. tostring(v).. " MB" ) end
end
end