diff options
Diffstat (limited to 'doc/classes/Performance.xml')
-rw-r--r-- | doc/classes/Performance.xml | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/doc/classes/Performance.xml b/doc/classes/Performance.xml new file mode 100644 index 0000000000..71987ace9e --- /dev/null +++ b/doc/classes/Performance.xml @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="Performance" inherits="Object" category="Core" version="3.0.alpha.custom_build"> + <brief_description> + </brief_description> + <description> + </description> + <tutorials> + </tutorials> + <demos> + </demos> + <methods> + <method name="get_monitor" qualifiers="const"> + <return type="float"> + </return> + <argument index="0" name="monitor" type="int" enum="Performance.Monitor"> + </argument> + <description> + </description> + </method> + </methods> + <constants> + <constant name="TIME_FPS" value="0"> + </constant> + <constant name="TIME_PROCESS" value="1"> + </constant> + <constant name="TIME_FIXED_PROCESS" value="2"> + </constant> + <constant name="MEMORY_STATIC" value="3"> + </constant> + <constant name="MEMORY_DYNAMIC" value="4"> + </constant> + <constant name="MEMORY_STATIC_MAX" value="5"> + </constant> + <constant name="MEMORY_DYNAMIC_MAX" value="6"> + </constant> + <constant name="MEMORY_MESSAGE_BUFFER_MAX" value="7"> + </constant> + <constant name="OBJECT_COUNT" value="8"> + </constant> + <constant name="OBJECT_RESOURCE_COUNT" value="9"> + </constant> + <constant name="OBJECT_NODE_COUNT" value="10"> + </constant> + <constant name="RENDER_OBJECTS_IN_FRAME" value="11"> + </constant> + <constant name="RENDER_VERTICES_IN_FRAME" value="12"> + </constant> + <constant name="RENDER_MATERIAL_CHANGES_IN_FRAME" value="13"> + </constant> + <constant name="RENDER_SHADER_CHANGES_IN_FRAME" value="14"> + </constant> + <constant name="RENDER_SURFACE_CHANGES_IN_FRAME" value="15"> + </constant> + <constant name="RENDER_DRAW_CALLS_IN_FRAME" value="16"> + </constant> + <constant name="RENDER_USAGE_VIDEO_MEM_TOTAL" value="20"> + </constant> + <constant name="RENDER_VIDEO_MEM_USED" value="17"> + </constant> + <constant name="RENDER_TEXTURE_MEM_USED" value="18"> + </constant> + <constant name="RENDER_VERTEX_MEM_USED" value="19"> + </constant> + <constant name="PHYSICS_2D_ACTIVE_OBJECTS" value="21"> + </constant> + <constant name="PHYSICS_2D_COLLISION_PAIRS" value="22"> + </constant> + <constant name="PHYSICS_2D_ISLAND_COUNT" value="23"> + </constant> + <constant name="PHYSICS_3D_ACTIVE_OBJECTS" value="24"> + </constant> + <constant name="PHYSICS_3D_COLLISION_PAIRS" value="25"> + </constant> + <constant name="PHYSICS_3D_ISLAND_COUNT" value="26"> + </constant> + <constant name="MONITOR_MAX" value="27"> + </constant> + </constants> +</class> |