UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CustomRenderPassSceneCapture.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5/*=============================================================================
6 CustomRenderPassSceneCapture.h: Internal user data for scene capture custom render passes
7=============================================================================*/
8
10
11//
12// FSceneCaptureCustomRenderPassUserData
13//
15{
16public:
18
19 bool bMainViewFamily = false;
20 bool bMainViewResolution = false;
21 bool bMainViewCamera = false;
27#if !UE_BUILD_SHIPPING
29#endif
30
32 {
34 return UserData ? *UserData : GDefaultData;
35 }
36
37private:
38 // Default data to return if data isn't present, to simplify renderer logic using the data (no need for conditional that data exists everywhere the structure is used)
39 static FSceneCaptureCustomRenderPassUserData GDefaultData;
40};
FInt32Point FIntPoint
Definition MathFwd.h:124
Definition CustomRenderPass.h:50
Definition NameTypes.h:617
Definition CustomRenderPassSceneCapture.h:15
bool bMainViewCamera
Definition CustomRenderPassSceneCapture.h:21
FName UserSceneTextureSceneColor
Definition CustomRenderPassSceneCapture.h:26
bool bMainViewFamily
Definition CustomRenderPassSceneCapture.h:19
FName UserSceneTextureNormal
Definition CustomRenderPassSceneCapture.h:25
bool bIgnoreScreenPercentage
Definition CustomRenderPassSceneCapture.h:22
bool bMainViewResolution
Definition CustomRenderPassSceneCapture.h:20
static const FSceneCaptureCustomRenderPassUserData & Get(const FCustomRenderPassBase *CustomRenderPass)
Definition CustomRenderPassSceneCapture.h:31
FIntPoint SceneTextureDivisor
Definition CustomRenderPassSceneCapture.h:23
FString CaptureActorName
Definition CustomRenderPassSceneCapture.h:28
IMPLEMENT_CUSTOM_RENDER_PASS_USER_DATA(FSceneCaptureCustomRenderPassUserData)
FName UserSceneTextureBaseColor
Definition CustomRenderPassSceneCapture.h:24
Definition CustomRenderPass.h:33
Definition IntPoint.h:25