瀏覽代碼

Merge pull request #33243 from Muller-Castro/BackBufferCopyDescription

Make BackBufferCopy's description more specific
Rémi Verschelde 5 年之前
父節點
當前提交
ab2881bca1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/classes/BackBufferCopy.xml

+ 2 - 2
doc/classes/BackBufferCopy.xml

@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <class name="BackBufferCopy" inherits="Node2D" category="Core" version="3.2">
 	<brief_description>
-		Copies a region of the screen (or the whole screen) to a buffer so it can be accessed with [code]SCREEN_TEXTURE[/code] in the [code]texture()[/code] function.
+		Copies a region of the screen (or the whole screen) to a buffer so it can be accessed in your shader scripts through the [code]texture(SCREEN_TEXTURE, ...)[/code] function.
 	</brief_description>
 	<description>
-		Node for back-buffering the currently-displayed screen. The region defined in the BackBufferCopy node is bufferized with the content of the screen it covers, or the entire screen according to the copy mode set. Use [code]SCREEN_TEXTURE[/code] in the [code]texture()[/code] function to access the buffer.
+		Node for back-buffering the currently-displayed screen. The region defined in the BackBufferCopy node is bufferized with the content of the screen it covers, or the entire screen according to the copy mode set. Use the [code]texture(SCREEN_TEXTURE, ...)[/code] function in your shader scripts to access the buffer.
 	</description>
 	<tutorials>
 	</tutorials>