Files
UnrealEngineUWP/Engine/Source/Runtime/Renderer/Private/PostProcess/VisualizeMotionVectors.h
guillaume abadie 8188bcbf6e Adds VisualizeMotionVectors show flag
#rb shaun.kime
#jira UE-143205
#preflight 620fb44aa96c65b0d81b1a9d

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 19070986 in //UE5/Release-5.0/... via CL 19090365
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19134116 by guillaume abadie in ue5-main branch]
2022-02-24 19:43:15 -05:00

18 lines
518 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ScreenPass.h"
struct FVisualizeMotionVectorsInputs
{
// [Optional] Render to the specified output. If invalid, a new texture is created and returned.
FScreenPassRenderTarget OverrideOutput;
FScreenPassTexture SceneColor;
FScreenPassTexture SceneDepth;
FScreenPassTexture SceneVelocity;
};
FScreenPassTexture AddVisualizeMotionVectorsPass(FRDGBuilder& GraphBuilder, const FViewInfo& View, const FVisualizeMotionVectorsInputs& Inputs);