UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSlateRHIPostBufferProcessorProxy Class Reference

#include <SlateRHIPostBufferProcessor.h>

+ Inheritance diagram for FSlateRHIPostBufferProcessorProxy:

Public Member Functions

virtual ~FSlateRHIPostBufferProcessorProxy ()
 
virtual void PostProcess_Renderthread (FRDGBuilder &GraphBuilder, const FScreenPassTexture &InputTexture, const FScreenPassTexture &OutputTexture)
 
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS void PostProcess_Renderthread (FRHICommandListImmediate &RHICmdList, FRHITexture *Src, FRHITexture *Dst, FIntRect SrcRect, FIntRect DstRect, FSlateRHIRenderingPolicyInterface InRenderingPolicy)
 
virtual PRAGMA_ENABLE_DEPRECATION_WARNINGS void OnUpdateValuesRenderThread ()
 
void SetOwningProcessorObject (USlateRHIPostBufferProcessor *InParentObject)
 
- Public Member Functions inherited from TSharedFromThis< FSlateRHIPostBufferProcessorProxy >
TSharedRef< FSlateRHIPostBufferProcessorProxy, Mode > AsShared ()
 
TSharedRef< FSlateRHIPostBufferProcessorProxy const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FSlateRHIPostBufferProcessorProxy, Mode > AsWeak ()
 
TWeakPtr< FSlateRHIPostBufferProcessorProxy const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Protected Attributes

TWeakObjectPtr< USlateRHIPostBufferProcessorParentObject
 

Additional Inherited Members

- Protected Member Functions inherited from TSharedFromThis< FSlateRHIPostBufferProcessorProxy >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< FSlateRHIPostBufferProcessorProxy >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Detailed Description

Proxy for post buffer processor that the renderthread uses to perform processing This proxy exists because generally speaking usage on UObjects on the renderthread is a race condition due to UObjects being managed / updated by the game thread

Constructor & Destructor Documentation

◆ ~FSlateRHIPostBufferProcessorProxy()

virtual FSlateRHIPostBufferProcessorProxy::~FSlateRHIPostBufferProcessorProxy ( )
inlinevirtual

Member Function Documentation

◆ OnUpdateValuesRenderThread()

virtual PRAGMA_ENABLE_DEPRECATION_WARNINGS void FSlateRHIPostBufferProcessorProxy::OnUpdateValuesRenderThread ( )
inlinevirtual

Called when an post buffer update element is added to a renderbatch, gives proxies a chance to queue updates to their renderthread values based on the UObject processor. These updates should likely be guarded by an 'FRenderCommandFence' to avoid duplicate updates

Reimplemented in FSlatePostBufferBlurProxy.

◆ PostProcess_Renderthread() [1/2]

virtual void FSlateRHIPostBufferProcessorProxy::PostProcess_Renderthread ( FRDGBuilder GraphBuilder,
const FScreenPassTexture InputTexture,
const FScreenPassTexture OutputTexture 
)
inlinevirtual

Called on the render thread to run a post processing operation on the input texture and produce the output texture.

Reimplemented in FSlatePostBufferBlurProxy.

◆ PostProcess_Renderthread() [2/2]

virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS void FSlateRHIPostBufferProcessorProxy::PostProcess_Renderthread ( FRHICommandListImmediate RHICmdList,
FRHITexture Src,
FRHITexture Dst,
FIntRect  SrcRect,
FIntRect  DstRect,
FSlateRHIRenderingPolicyInterface  InRenderingPolicy 
)
inlinevirtual

◆ SetOwningProcessorObject()

void FSlateRHIPostBufferProcessorProxy::SetOwningProcessorObject ( USlateRHIPostBufferProcessor InParentObject)
inline

Set the UObject that we are a renderthread proxy for, useful for doing gamethread updates from the proxy

Member Data Documentation

◆ ParentObject

TWeakObjectPtr<USlateRHIPostBufferProcessor> FSlateRHIPostBufferProcessorProxy::ParentObject
protected

Pointer to processor that we are a proxy for, external design constraints should ensure that this is always valid


The documentation for this class was generated from the following file: