From 27aa03cac11cf26791ee3b23cc945f91564ba543 Mon Sep 17 00:00:00 2001 From: lawnjelly Date: Tue, 23 Feb 2021 10:00:37 +0000 Subject: [PATCH] Small class reference update for 3.2.4 Changed batching entries now that it is available in GLES3 and GLES2. Added entry for camera_snap. --- doc/classes/ProjectSettings.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 1739e6e6346..cddc2eb1904 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -1044,12 +1044,10 @@ Enabling this setting uses the legacy method to draw batches containing only one rect. The legacy method is faster (approx twice as fast), but can cause flicker on some systems. In order to directly compare performance with the non-batching renderer you can set this to true, but it is recommended to turn this off unless you can guarantee your target hardware will work with this method. - Turns batching on and off. Batching increases performance by reducing the amount of graphics API drawcalls. - [b]Note:[/b] Currently only effective when using the GLES2 renderer. + Turns 2D batching on and off. Batching increases performance by reducing the amount of graphics API drawcalls. - Switches on batching within the editor. - [b]Note:[/b] Currently only effective when using the GLES2 renderer. + Switches on 2D batching within the editor. Size of buffer reserved for batched vertices. Larger size enables larger batches, but there are diminishing returns for the memory used. This should only have a minor effect on performance. @@ -1128,6 +1126,8 @@ Not available in GLES3 when [member rendering/batching/options/use_batching] is off. + If [code]true[/code], forces snapping of 2D viewports to the nearest whole coordinate. + Can reduce unwanted camera relative movement in pixel art styles. Some NVIDIA GPU drivers have a bug which produces flickering issues for the [code]draw_rect[/code] method, especially as used in [TileMap]. Refer to [url=https://github.com/godotengine/godot/issues/9913]GitHub issue 9913[/url] for details.