mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Count global number of drawcalls too
This commit is contained in:
parent
275bef0633
commit
3feec87d52
3 changed files with 8 additions and 1 deletions
|
@ -54,6 +54,8 @@ const c8 *const FogTypeNames[] = {
|
|||
};
|
||||
|
||||
struct SFrameStats {
|
||||
//! Number of draw calls
|
||||
u32 Drawcalls = 0;
|
||||
//! Count of primitives drawn
|
||||
u32 PrimitivesDrawn = 0;
|
||||
//! Number of hardware buffers uploaded (new or updated)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue