Files
UnrealEngineUWP/Engine/Source/Runtime/Renderer/Private/PostProcess/ScreenSpaceReflections.h
Mike Fricker 114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00

55 lines
2.1 KiB
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
ScreenSpaceReflections.h: Post processing Screen Space Reflections implementation.
=============================================================================*/
#pragma once
#include "RenderingCompositionGraph.h"
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
class FRCPassPostProcessDepthDownSample : public TRenderingCompositePassBase<1, 1>
{
public:
// interface FRenderingCompositePass ---------
virtual void Process(FRenderingCompositePassContext& Context) override;
virtual void Release() override { delete this; }
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
};
// ePId_Input0: half res scene color
// ePId_Input1: half res scene depth
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
class FRCPassPostProcessScreenSpaceReflections : public TRenderingCompositePassBase<2, 1>
{
public:
FRCPassPostProcessScreenSpaceReflections( bool InPrevFrame )
: bPrevFrame( InPrevFrame )
{}
// interface FRenderingCompositePass ---------
virtual void Process(FRenderingCompositePassContext& Context) override;
virtual void Release() override { delete this; }
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
private:
bool bPrevFrame;
};
// ePId_Input0: half res scene color
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
class FRCPassPostProcessApplyScreenSpaceReflections : public TRenderingCompositePassBase<2, 1>
{
public:
// interface FRenderingCompositePass ---------
virtual void Process(FRenderingCompositePassContext& Context) override;
virtual void Release() override { delete this; }
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
};
void ScreenSpaceReflections(FRHICommandListImmediate& RHICmdList, FViewInfo& View, TRefCountPtr<IPooledRenderTarget>& SSROutput);
bool DoScreenSpaceReflections(const FViewInfo& View);