Przeglądaj źródła

Add tutorial link in Compositor and CompositorEffect docs

tetrapod00 1 rok temu
rodzic
commit
d6ef881418
2 zmienionych plików z 2 dodań i 0 usunięć
  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">