Files
UnrealEngineUWP/Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessFFTBloom.h
guillaume abadie cffaa1fe82 Replaces r.Bloom.HalfResConvolution with r.Bloom.ScreenPercentage
#rb none
#jira none
#preflight 61ae42868358693a22c276d0

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18385314 in //UE5/Release-5.0/... via CL 18385332
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18385358 by guillaume abadie in ue5-release-engine-test branch]
2021-12-06 13:45:02 -05:00

25 lines
619 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "RenderGraph.h"
#include "ScenePrivate.h"
#include "ScreenPass.h"
struct FBloomOutputs;
// Returns whether FFT bloom is enabled for the view.
bool IsFFTBloomEnabled(const FViewInfo& View);
float GetFFTBloomResolutionFraction();
struct FFFTBloomOutput
{
FScreenPassTexture BloomTexture;
FRDGBufferRef SceneColorApplyParameters = nullptr;
};
float GetFFTBloomResolutionFraction();
FFFTBloomOutput AddFFTBloomPass(FRDGBuilder& GraphBuilder, const FViewInfo& View, const FScreenPassTexture& InputSceneColor, float InputResolutionFraction);