mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
update ModelBatch semantics
This commit is contained in:
parent
ea0add3017
commit
94fe5eeb5b
7 changed files with 97 additions and 35 deletions
|
|
@ -62,6 +62,11 @@ std::shared_ptr<UINode> create_debug_panel(
|
|||
panel->add(create_label([](){
|
||||
return L"meshes: " + std::to_wstring(Mesh::meshesCount);
|
||||
}));
|
||||
panel->add(create_label([](){
|
||||
int drawCalls = Mesh::drawCalls;
|
||||
Mesh::drawCalls = 0;
|
||||
return L"draw-calls: " + std::to_wstring(drawCalls);
|
||||
}));
|
||||
panel->add(create_label([](){
|
||||
return L"speakers: " + std::to_wstring(audio::count_speakers())+
|
||||
L" streams: " + std::to_wstring(audio::count_streams());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue