浏览代码

Add tutorial link in Compositor and CompositorEffect docs

tetrapod00 1 年之前
父节点
当前提交
d6ef881418
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      doc/classes/Compositor.xml
  2. 1 0
      doc/classes/CompositorEffect.xml

+ 1 - 0
doc/classes/Compositor.xml

@@ -7,6 +7,7 @@
 		The compositor resource stores attributes used to customize how a [Viewport] is rendered.
 	</description>
 	<tutorials>
+		<link title="The Compositor">$DOCS_URL/tutorials/rendering/compositor.html</link>
 	</tutorials>
 	<members>
 		<member name="compositor_effects" type="CompositorEffect[]" setter="set_compositor_effects" getter="get_compositor_effects" default="[]">

+ 1 - 0
doc/classes/CompositorEffect.xml

@@ -7,6 +7,7 @@
 		This resource defines a custom rendering effect that can be applied to [Viewport]s through the viewports' [Environment]. You can implement a callback that is called during rendering at a given stage of the rendering pipeline and allows you to insert additional passes. Note that this callback happens on the rendering thread. CompositorEffect is an abstract base class and must be extended to implement specific rendering logic.
 	</description>
 	<tutorials>
+		<link title="The Compositor">$DOCS_URL/tutorials/rendering/compositor.html</link>
 	</tutorials>
 	<methods>
 		<method name="_render_callback" qualifiers="virtual">