Navigation
API > API/Runtime > API/Runtime/SlateRHIRenderer > API/Runtime/SlateRHIRenderer/USlateRHIPostBufferProcessor
Description
Overridable postprocess for the given source scene backbuffer provided in 'Src' into 'Dst' You must override this method. In your override, you should copy params before executing 'ENQUEUE_RENDER_COMMAND'. This allows you to avoid render & game thread race conditions. See 'SlatePostBufferBlur' for example. Also avoid capturing [this] in your override, to avoid possible GC issues with the processor instance.
| Name | PostProcess |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateRHIRenderer/Public/FX/SlateRHIPostBufferProcessor.h |
| Include Path | #include "FX/SlateRHIPostBufferProcessor.h" |
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS void PostProcess
(
FRenderResource * InViewInfo,
FRenderResource * InViewportTexture,
FVector2D InElementWindowSize,
FSlateRHIRenderingPolicyInterface InRenderingPolicy,
UTextureRenderTarget2D * InSlatePostBuffer
)
Parameters
| Name | Remarks |
|---|---|
| InViewInfo | 'FViewportInfo' resource used to get backbuffer in standalone |
| InViewportTexture | 'FSlateRenderTargetRHI' resource used to get the 'BufferedRT' viewport texture used in PIE |
| InElementWindowSize | Size of window being rendered, used to determine if using stereo rendering or not. |
| InRenderingPolicy | Slate RHI RenderingPolicy |
| InSlatePostBuffer | Texture render target used for final output |