From 80b5e9d02a476491880defd6b15f04f8f82ae712 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 11 Dec 2023 19:48:06 +0100 Subject: [PATCH] Fix doc code example https://forum.flaxengine.com/t/could-be-a-deprecated-document-hint-of-custompostfx-on-mainrendertask/1510 --- Source/Engine/Graphics/PostProcessEffect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Graphics/PostProcessEffect.h b/Source/Engine/Graphics/PostProcessEffect.h index 2e444c0ea..1513ad64e 100644 --- a/Source/Engine/Graphics/PostProcessEffect.h +++ b/Source/Engine/Graphics/PostProcessEffect.h @@ -13,7 +13,7 @@ struct RenderContext; /// Custom PostFx which can modify final image by processing it with material based filters. The base class for all post process effects used by the graphics pipeline. Allows to extend frame rendering logic and apply custom effects such as outline, night vision, contrast etc. /// /// -/// Override this class and implement custom post fx logic. Use MainRenderTask.Instance.CustomPostFx.Add(myPostFx) to attach your script to rendering or add script to camera actor. +/// Override this class and implement custom post fx logic. Use MainRenderTask.Instance.AddCustomPostFx(myPostFx) to attach your script to rendering or add script to camera actor. /// API_CLASS(Abstract) class FLAXENGINE_API PostProcessEffect : public Script {