Răsfoiți Sursa

Merge pull request #95539 from tetrapod00/compositor-tutorial-link

Add tutorial link in Compositor and CompositorEffect docs
Rémi Verschelde 1 an în urmă
părinte
comite
1a5602c404
2 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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.
 		The compositor resource stores attributes used to customize how a [Viewport] is rendered.
 	</description>
 	</description>
 	<tutorials>
 	<tutorials>
+		<link title="The Compositor">$DOCS_URL/tutorials/rendering/compositor.html</link>
 	</tutorials>
 	</tutorials>
 	<members>
 	<members>
 		<member name="compositor_effects" type="CompositorEffect[]" setter="set_compositor_effects" getter="get_compositor_effects" default="[]">
 		<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.
 		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>
 	</description>
 	<tutorials>
 	<tutorials>
+		<link title="The Compositor">$DOCS_URL/tutorials/rendering/compositor.html</link>
 	</tutorials>
 	</tutorials>
 	<methods>
 	<methods>
 		<method name="_render_callback" qualifiers="virtual">
 		<method name="_render_callback" qualifiers="virtual">