Files
UnrealEngineUWP/Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessGBufferHints.h
Marcus Wassmer 3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00

25 lines
885 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ScreenPass.h"
#include "OverridePassSequence.h"
class FSceneTextureParameters;
struct FVisualizeGBufferHintsInputs
{
// [Optional] Render to the specified output. If invalid, a new texture is created and returned.
FScreenPassRenderTarget OverrideOutput;
// [Required] The scene color to composite with the gbuffer hint visualization.
FScreenPassTexture SceneColor;
// [Required] The original, unprocessed scene color to composite with the gbuffer hint visualization.
FScreenPassTexture OriginalSceneColor;
// [Required] The scene textures used to visualize gbuffer hints.
TRDGUniformBufferRef<FSceneTextureUniformParameters> SceneTextures = nullptr;
};
FScreenPassTexture AddVisualizeGBufferHintsPass(FRDGBuilder& GraphBuilder, const FViewInfo& View, const FVisualizeGBufferHintsInputs& Inputs);