XinJiangBBH_LBE/Plugins/DLSS/Source/DLSSUtility/Public/VelocityCombinePass.h

33 lines
1001 B
C

/*
* Copyright (c) 2020 - 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
* property and proprietary rights in and to this material, related
* documentation and any modifications thereto. Any use, reproduction,
* disclosure or distribution of this material and related documentation
* without an express license agreement from NVIDIA CORPORATION or
* its affiliates is strictly prohibited.
*/
#pragma once
#include "CoreMinimal.h"
#include "RendererInterface.h"
#include "Runtime/Launch/Resources/Version.h"
extern DLSSUTILITY_API FRDGTextureRef AddVelocityCombinePass(
FRDGBuilder& GraphBuilder,
#if ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 3
const FSceneView& View,
#else
const FViewInfo& View,
#endif
FRDGTextureRef InSceneDepthTexture,
FRDGTextureRef InVelocityTexture,
FIntRect InputViewRect,
FIntRect DLSSOutputViewRect,
FVector2f TemporalJitterPixels,
bool bDilateMotionVectors
);