diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-16 10:19:09 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-16 10:19:09 +0200 |
commit | 908610174db179741a1456689ec2b6c60205fbc4 (patch) | |
tree | 09bab52d28fa3ae9ee22cbb9c8d62eb6b5e3d618 /doc/classes/RenderingServer.xml | |
parent | d101244d1b41e08289eb979a174d74317ccf3938 (diff) | |
parent | 36a005fafcad7be0c22f6402b6475d7bd7024703 (diff) | |
download | redot-engine-908610174db179741a1456689ec2b6c60205fbc4.tar.gz |
Merge pull request #77536 from clayjohn/GLES3-render-info
Add RENDERING_INFO parameters to GL Compatibility renderer
Diffstat (limited to 'doc/classes/RenderingServer.xml')
-rw-r--r-- | doc/classes/RenderingServer.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 21796e86d7..878b685c67 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -4575,7 +4575,7 @@ Number of objects drawn in a single frame. </constant> <constant name="VIEWPORT_RENDER_INFO_PRIMITIVES_IN_FRAME" value="1" enum="ViewportRenderInfo"> - Number of vertices drawn in a single frame. + Number of points, lines, or triangles drawn in a single frame. </constant> <constant name="VIEWPORT_RENDER_INFO_DRAW_CALLS_IN_FRAME" value="2" enum="ViewportRenderInfo"> Number of draw calls during this frame. @@ -5201,7 +5201,7 @@ Number of objects rendered in the current 3D scene. This varies depending on camera position and rotation. </constant> <constant name="RENDERING_INFO_TOTAL_PRIMITIVES_IN_FRAME" value="1" enum="RenderingInfo"> - Number of vertices/indices rendered in the current 3D scene. This varies depending on camera position and rotation. + Number of points, lines, or triangles rendered in the current 3D scene. This varies depending on camera position and rotation. </constant> <constant name="RENDERING_INFO_TOTAL_DRAW_CALLS_IN_FRAME" value="2" enum="RenderingInfo"> Number of draw calls performed to render in the current 3D scene. This varies depending on camera position and rotation. @@ -5210,10 +5210,10 @@ Texture memory used (in bytes). </constant> <constant name="RENDERING_INFO_BUFFER_MEM_USED" value="4" enum="RenderingInfo"> - Buffer memory used (in bytes). + Buffer memory used (in bytes). This includes vertex data, uniform buffers, and many miscellaneous buffer types used internally. </constant> <constant name="RENDERING_INFO_VIDEO_MEM_USED" value="5" enum="RenderingInfo"> - Video memory used (in bytes). This is always greater than the sum of [constant RENDERING_INFO_TEXTURE_MEM_USED] and [constant RENDERING_INFO_BUFFER_MEM_USED], since there is miscellaneous data not accounted for by those two metrics. + Video memory used (in bytes). When using the Forward+ or mobile rendering backends, this is always greater than the sum of [constant RENDERING_INFO_TEXTURE_MEM_USED] and [constant RENDERING_INFO_BUFFER_MEM_USED], since there is miscellaneous data not accounted for by those two metrics. When using the GL Compatibility backend, this is equal to the sum of [constant RENDERING_INFO_TEXTURE_MEM_USED] and [constant RENDERING_INFO_BUFFER_MEM_USED]. </constant> <constant name="FEATURE_SHADERS" value="0" enum="Features"> Hardware supports shaders. This enum is currently unused in Godot 3.x. |