diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/BaseMaterial3D.xml | 2 | ||||
-rw-r--r-- | doc/classes/Color.xml | 6 | ||||
-rw-r--r-- | doc/classes/Node.xml | 4 | ||||
-rw-r--r-- | doc/classes/OS.xml | 6 | ||||
-rw-r--r-- | doc/classes/Performance.xml | 2 | ||||
-rw-r--r-- | doc/classes/ProjectSettings.xml | 14 | ||||
-rw-r--r-- | doc/classes/VisualServer.xml | 2 |
7 files changed, 16 insertions, 20 deletions
diff --git a/doc/classes/BaseMaterial3D.xml b/doc/classes/BaseMaterial3D.xml index f0730a0f58..46a96020d0 100644 --- a/doc/classes/BaseMaterial3D.xml +++ b/doc/classes/BaseMaterial3D.xml @@ -534,7 +534,7 @@ Set [code]ALBEDO[/code] to the per-vertex color specified in the mesh. </constant> <constant name="FLAG_SRGB_VERTEX_COLOR" value="2" enum="Flags"> - Vertex color is in sRGB space and needs to be converted to linear. Only applies in the GLES3 renderer. + Vertex color is in sRGB space and needs to be converted to linear. Only applies in the Vulkan renderer. </constant> <constant name="FLAG_USE_POINT_SIZE" value="3" enum="Flags"> Uses point size to alter the size of primitive points. Also changes the albedo texture lookup to use [code]POINT_COORD[/code] instead of [code]UV[/code]. diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml index 5529251b5a..7335ff5a2e 100644 --- a/doc/classes/Color.xml +++ b/doc/classes/Color.xml @@ -295,9 +295,6 @@ </member> </members> <constants> - <constant name="gray" value="Color( 0.75, 0.75, 0.75, 1 )"> - Gray color. - </constant> <constant name="aliceblue" value="Color( 0.94, 0.97, 1, 1 )"> Alice blue color. </constant> @@ -448,6 +445,9 @@ <constant name="goldenrod" value="Color( 0.85, 0.65, 0.13, 1 )"> Goldenrod color. </constant> + <constant name="gray" value="Color( 0.75, 0.75, 0.75, 1 )"> + Gray color. + </constant> <constant name="green" value="Color( 0, 1, 0, 1 )"> Green color. </constant> diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 1847954b67..5fd0da7452 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -619,7 +619,7 @@ </description> </method> <method name="rpc_config"> - <return type="void"> + <return type="int"> </return> <argument index="0" name="method" type="String"> </argument> @@ -672,7 +672,7 @@ </description> </method> <method name="rset_config"> - <return type="void"> + <return type="int"> </return> <argument index="0" name="property" type="String"> </argument> diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index e0f73df1bf..b3b77b0b26 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -973,11 +973,11 @@ </member> </members> <constants> - <constant name="VIDEO_DRIVER_GLES2" value="1" enum="VideoDriver"> + <constant name="VIDEO_DRIVER_GLES2" value="0" enum="VideoDriver"> The GLES2 rendering backend. It uses OpenGL ES 2.0 on mobile devices, OpenGL 2.1 on desktop platforms and WebGL 1.0 on the web. </constant> - <constant name="VIDEO_DRIVER_GLES3" value="0" enum="VideoDriver"> - The GLES3 rendering backend. It uses OpenGL ES 3.0 on mobile devices, OpenGL 3.3 on desktop platforms and WebGL 2.0 on the web. + <constant name="VIDEO_DRIVER_VULKAN" value="1" enum="VideoDriver"> + The Vulkan rendering backend. </constant> <constant name="DAY_SUNDAY" value="0" enum="Weekday"> Sunday. diff --git a/doc/classes/Performance.xml b/doc/classes/Performance.xml index e992f25836..a7bf947011 100644 --- a/doc/classes/Performance.xml +++ b/doc/classes/Performance.xml @@ -89,7 +89,7 @@ The amount of vertex memory used. </constant> <constant name="RENDER_USAGE_VIDEO_MEM_TOTAL" value="21" enum="Monitor"> - Unimplemented in the GLES2 and GLES3 rendering backends, always returns 0. + Unimplemented in the GLES2 rendering backend, always returns 0. </constant> <constant name="PHYSICS_2D_ACTIVE_OBJECTS" value="22" enum="Monitor"> Number of active [RigidBody2D] nodes in the game. diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 335fe0aab8..0bedb3afe3 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -972,7 +972,7 @@ </member> <member name="rendering/quality/2d/gles2_use_nvidia_rect_flicker_workaround" type="bool" setter="" getter="" default="false"> 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. - If [code]true[/code], this option enables a "safe" code path for such NVIDIA GPUs at the cost of performance. This option only impacts the GLES2 rendering backend (so the bug stays if you use GLES3), and only desktop platforms. + If [code]true[/code], this option enables a "safe" code path for such NVIDIA GPUs at the cost of performance. This option only impacts the GLES2 rendering backend, and only desktop platforms. It is not necessary when using the Vulkan backend. </member> <member name="rendering/quality/2d/use_pixel_snap" type="bool" setter="" getter="" default="false"> If [code]true[/code], forces snapping of polygons to pixels in 2D rendering. May help in some pixel art styles. @@ -990,12 +990,8 @@ Lower-end override for [member rendering/quality/directional_shadow/size] on mobile devices, due to performance concerns or driver support. </member> <member name="rendering/quality/driver/driver_name" type="String" setter="" getter="" default=""Vulkan""> - The video driver to use ("GLES2" or "GLES3"). - [b]Note:[/b] The backend in use can be overridden at runtime via the [code]--video-driver[/code] command line argument, or by the [member rendering/quality/driver/fallback_to_gles2] option if the target system does not support GLES3 and falls back to GLES2. In such cases, this property is not updated, so use [method OS.get_current_video_driver] to query it at run-time. - </member> - <member name="rendering/quality/driver/fallback_to_gles2" type="bool" setter="" getter="" default="false"> - If [code]true[/code], allows falling back to the GLES2 driver if the GLES3 driver is not supported. - [b]Note:[/b] The two video drivers are not drop-in replacements for each other, so a game designed for GLES3 might not work properly when falling back to GLES2. In particular, some features of the GLES3 backend are not available in GLES2. Enabling this setting also means that both ETC and ETC2 VRAM-compressed textures will be exported on Android and iOS, increasing the data pack's size. + The video driver to use ("GLES2" or "Vulkan"). + [b]Note:[/b] The backend in use can be overridden at runtime via the [code]--video-driver[/code] command line argument. In such cases, this property is not updated, so use [method OS.get_current_video_driver] to query it at run-time. </member> <member name="rendering/quality/filters/depth_of_field_bokeh_quality" type="int" setter="" getter="" default="2"> </member> @@ -1101,13 +1097,13 @@ Thread model for rendering. Rendering on a thread can vastly improve performance, but synchronizing to the main thread can cause a bit more jitter. </member> <member name="rendering/vram_compression/import_bptc" type="bool" setter="" getter="" default="false"> - If [code]true[/code], the texture importer will import VRAM-compressed textures using the BPTC algorithm. This texture compression algorithm is only supported on desktop platforms, and only when using the GLES3 renderer. + If [code]true[/code], the texture importer will import VRAM-compressed textures using the BPTC algorithm. This texture compression algorithm is only supported on desktop platforms, and only when using the Vulkan renderer. </member> <member name="rendering/vram_compression/import_etc" type="bool" setter="" getter="" default="false"> If [code]true[/code], the texture importer will import VRAM-compressed textures using the Ericsson Texture Compression algorithm. This algorithm doesn't support alpha channels in textures. </member> <member name="rendering/vram_compression/import_etc2" type="bool" setter="" getter="" default="true"> - If [code]true[/code], the texture importer will import VRAM-compressed textures using the Ericsson Texture Compression 2 algorithm. This texture compression algorithm is only supported when using the GLES3 renderer. + If [code]true[/code], the texture importer will import VRAM-compressed textures using the Ericsson Texture Compression 2 algorithm. This texture compression algorithm is only supported when using the Vulkan renderer. </member> <member name="rendering/vram_compression/import_pvrtc" type="bool" setter="" getter="" default="false"> If [code]true[/code], the texture importer will import VRAM-compressed textures using the PowerVR Texture Compression algorithm. This texture compression algorithm is only supported on iOS. diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml index f6b24c2391..9de10d12a8 100644 --- a/doc/classes/VisualServer.xml +++ b/doc/classes/VisualServer.xml @@ -3706,7 +3706,7 @@ The amount of draw calls in frame. </constant> <constant name="INFO_USAGE_VIDEO_MEM_TOTAL" value="6" enum="RenderInfo"> - Unimplemented in the GLES2 and GLES3 rendering backends, always returns 0. + Unimplemented in the GLES2 rendering backend, always returns 0. </constant> <constant name="INFO_VIDEO_MEM_USED" value="7" enum="RenderInfo"> The amount of video memory used, i.e. texture and vertex memory combined. |