mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:37:20 +02:00
show total memory usage for voxels
This commit is contained in:
parent
befa26186c
commit
001418649f
1 changed files with 1 additions and 2 deletions
|
@ -2997,8 +2997,7 @@ void Application::displayStats() {
|
||||||
|
|
||||||
voxelStats.str("");
|
voxelStats.str("");
|
||||||
voxelStats <<
|
voxelStats <<
|
||||||
"Voxels Memory Nodes: " << VoxelNode::getVoxelMemoryUsage() / 1000000.f << "MB "
|
"Voxels Memory Nodes: " << VoxelNode::getTotalMemoryUsage() / 1000000.f << "MB "
|
||||||
"Octcodes: " << VoxelNode::getOctcodeMemoryUsage() / 1000000.f << "MB "
|
|
||||||
"Geometry RAM: " << _voxels.getVoxelMemoryUsageRAM() / 1000000.f << "MB " <<
|
"Geometry RAM: " << _voxels.getVoxelMemoryUsageRAM() / 1000000.f << "MB " <<
|
||||||
"VBO: " << _voxels.getVoxelMemoryUsageVBO() / 1000000.f << "MB ";
|
"VBO: " << _voxels.getVoxelMemoryUsageVBO() / 1000000.f << "MB ";
|
||||||
if (_voxels.hasVoxelMemoryUsageGPU()) {
|
if (_voxels.hasVoxelMemoryUsageGPU()) {
|
||||||
|
|
Loading…
Reference in a new issue