You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
32 lines
1.3 KiB
C++
32 lines
1.3 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
PostProcessSelectionOutline.h: Post processing outline effect.
|
|
=============================================================================*/
|
|
|
|
#pragma once
|
|
|
|
#include "RenderingCompositionGraph.h"
|
|
|
|
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
|
|
// ePId_Input0: SceneColor
|
|
class FRCPassPostProcessSelectionOutlineColor : 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;
|
|
};
|
|
|
|
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
|
|
// ePId_Input0: SceneColor
|
|
// ePId_Input1: SelectionColor
|
|
class FRCPassPostProcessSelectionOutline : 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;
|
|
}; |