浏览代码

Fix typos in EditorDebuggerPlugin and RDShaderSPIRV classref

Haoyu Qiu 2 年之前
父节点
当前提交
2c59c59270
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      doc/classes/EditorDebuggerPlugin.xml
  2. 1 1
      doc/classes/RDShaderSPIRV.xml

+ 1 - 1
doc/classes/EditorDebuggerPlugin.xml

@@ -81,7 +81,7 @@
 			<return type="Array" />
 			<description>
 				Returns an array of [EditorDebuggerSession] currently available to this debugger plugin.
-				[b]Note:[/b] Not sessions in the array may be inactive, check their state via [method EditorDebuggerSession.is_active]
+				[b]Note:[/b] Sessions in the array may be inactive, check their state via [method EditorDebuggerSession.is_active].
 			</description>
 		</method>
 	</methods>

+ 1 - 1
doc/classes/RDShaderSPIRV.xml

@@ -4,7 +4,7 @@
 		SPIR-V intermediate representation as part of a [RDShaderFile] (used by [RenderingDevice]).
 	</brief_description>
 	<description>
-		[RDShaderSPIRV] represents a [RDShaderFile]'s [url=https://www.khronos.org/spir/]SPIR-V[/url] code for various shader stages, as well as possible compilation error messages. SPIR-V a low-level intermediate shader representation. This intermediate representation is not used directly by GPUs for rendering, but it can be compiled into binary shaders that GPUs can understand. Unlike compiled shaders, SPIR-V is portable across GPU models and driver versions.
+		[RDShaderSPIRV] represents a [RDShaderFile]'s [url=https://www.khronos.org/spir/]SPIR-V[/url] code for various shader stages, as well as possible compilation error messages. SPIR-V is a low-level intermediate shader representation. This intermediate representation is not used directly by GPUs for rendering, but it can be compiled into binary shaders that GPUs can understand. Unlike compiled shaders, SPIR-V is portable across GPU models and driver versions.
 		This object is used by [RenderingDevice].
 	</description>
 	<tutorials>