2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
/*=============================================================================
|
|
|
|
|
PostProcessVisualizeComplexity.h: PP pass used when visualizing complexity, maps scene color complexity value to colors
|
|
|
|
|
=============================================================================*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "RenderingCompositionGraph.h"
|
|
|
|
|
|
|
|
|
|
class FRCPassPostProcessVisualizeComplexity : public TRenderingCompositePassBase<1, 1>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
FRCPassPostProcessVisualizeComplexity(const TArray<FLinearColor>& InColors) :
|
|
|
|
|
Colors(InColors)
|
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
// interface FRenderingCompositePass ---------
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual void Process(FRenderingCompositePassContext& Context) override;
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void Release() override { delete this; }
|
2015-04-01 07:20:55 -04:00
|
|
|
FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
TArray<FLinearColor> Colors;
|
2015-04-01 07:20:55 -04:00
|
|
|
};
|