Files
UnrealEngineUWP/Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessMaterial.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

35 lines
1.2 KiB
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
PostProcessMaterial.h: Post processing Material
=============================================================================*/
#pragma once
#include "RenderingCompositionGraph.h"
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
// ePId_Input0: former pass
// ePId_Input1: optional, depends on EBlendableLocation
// ePId_Input2: optional, depends on EBlendableLocation
class FRCPassPostProcessMaterial : public TRenderingCompositePassBase<3,1>
{
public:
// constructor
FRCPassPostProcessMaterial(UMaterialInterface* InMaterialInterface, ERHIFeatureLevel::Type InFeatureLevel, EPixelFormat OutputFormatIN = PF_Unknown);
// interface FRenderingCompositePass ---------
virtual void Process(FRenderingCompositePassContext& Context) override;
virtual void Release() override { delete this; }
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
private:
void SetShader(const FRenderingCompositePassContext& Context);
UMaterialInterface* MaterialInterface;
// PF_Unknown for default behavior.
EPixelFormat OutputFormat;
};