UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CustomRenderPass.h File Reference
#include "CoreMinimal.h"
#include "RenderGraphFwd.h"
#include "Engine/EngineTypes.h"

Go to the source code of this file.

Classes

class  ICustomRenderPass
 
class  ICustomRenderPassUserData
 
class  FCustomRenderPassBase
 

Macros

#define IMPLEMENT_CUSTOM_RENDER_PASS(TypeName)
 
#define IMPLEMENT_CUSTOM_RENDER_PASS_USER_DATA(TypeName)
 

Macro Definition Documentation

◆ IMPLEMENT_CUSTOM_RENDER_PASS

#define IMPLEMENT_CUSTOM_RENDER_PASS (   TypeName)
Value:
const FName& GetTypeName() const override { return GetTypeNameStatic(); } \
static const FName& GetTypeNameStatic() { static FName Name(TEXT(#TypeName)); return Name; }
FString GetTypeName()
Definition Casts.h:66
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition NameTypes.h:617

Use this macro to implement the RTTI method for custom render passes. Should only be used on final classes (e.g. if C derives from B which derives from A, we won't be able to query a C* for whether it's a "B", in other words, A and B should be abstract and C, final)

◆ IMPLEMENT_CUSTOM_RENDER_PASS_USER_DATA

#define IMPLEMENT_CUSTOM_RENDER_PASS_USER_DATA (   TypeName)
Value:
const FName& GetTypeName() const override { return GetTypeNameStatic(); } \
static const FName& GetTypeNameStatic() { static FName Name(TEXT(#TypeName)); return Name; }

Use this macro to implement the RTTI method for custom render pass user data. Should only be used on final classes (e.g. if C derives from B which derives from A, we won't be able to query a C* for whether it's a "B", in other words, A and B should be abstract and C, final)