Fix Render Info
* Fixed and redone the process to obtain render information from a viewport * Some stats, such as material changes are too difficult to guess on Vulkan, were removed. * Separated visible and shadow stats, which causes confusion. * Texture, buffer and general video memory can be queried now. * Fixed the performance metrics too.
This commit is contained in:
@ -73,16 +73,12 @@ public:
|
||||
OBJECT_RESOURCE_COUNT,
|
||||
OBJECT_NODE_COUNT,
|
||||
OBJECT_ORPHAN_NODE_COUNT,
|
||||
RENDER_OBJECTS_IN_FRAME,
|
||||
RENDER_VERTICES_IN_FRAME,
|
||||
RENDER_MATERIAL_CHANGES_IN_FRAME,
|
||||
RENDER_SHADER_CHANGES_IN_FRAME,
|
||||
RENDER_SURFACE_CHANGES_IN_FRAME,
|
||||
RENDER_DRAW_CALLS_IN_FRAME,
|
||||
RENDER_TOTAL_OBJECTS_IN_FRAME,
|
||||
RENDER_TOTAL_PRIMITIVES_IN_FRAME,
|
||||
RENDER_TOTAL_DRAW_CALLS_IN_FRAME,
|
||||
RENDER_VIDEO_MEM_USED,
|
||||
RENDER_TEXTURE_MEM_USED,
|
||||
RENDER_VERTEX_MEM_USED,
|
||||
RENDER_USAGE_VIDEO_MEM_TOTAL,
|
||||
RENDER_BUFFER_MEM_USED,
|
||||
PHYSICS_2D_ACTIVE_OBJECTS,
|
||||
PHYSICS_2D_COLLISION_PAIRS,
|
||||
PHYSICS_2D_ISLAND_COUNT,
|
||||
|
||||
Reference in New Issue
Block a user