mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
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:
parent
ecf9ea740e
commit
6c55d2aad2
34 changed files with 391 additions and 279 deletions
|
|
@ -515,6 +515,14 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_memory_usage" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int" enum="RenderingDevice.MemoryType">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="index_array_create">
|
||||
<return type="RID">
|
||||
</return>
|
||||
|
|
@ -1771,6 +1779,12 @@
|
|||
</constant>
|
||||
<constant name="LIMIT_MAX_COMPUTE_WORKGROUP_SIZE_Z" value="34" enum="Limit">
|
||||
</constant>
|
||||
<constant name="MEMORY_TEXTURES" value="0" enum="MemoryType">
|
||||
</constant>
|
||||
<constant name="MEMORY_BUFFERS" value="1" enum="MemoryType">
|
||||
</constant>
|
||||
<constant name="MEMORY_TOTAL" value="2" enum="MemoryType">
|
||||
</constant>
|
||||
<constant name="INVALID_ID" value="-1">
|
||||
</constant>
|
||||
<constant name="INVALID_FORMAT_ID" value="-1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue