Files
UnrealEngineUWP/Engine/Source/Runtime/Renderer/Private/TranslucencyPass.h
henrik karlsson b5164ac775 Fixes to make modules compile with IWYU. We've added to IWYU toolchain so it compiles "orphaned" headers which does not have a owning cpp file. This identified lots of headers that couldn't be compiled by themselves (or if they were to included first)
Change consist of only forward declaration and additional includes

#preflight 63789c1de30d438849c48188
#rb none

[CL 23218412 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:23 -05:00

31 lines
783 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Misc/EnumClassFlags.h"
// enum instead of bool to get better visibility when we pass around multiple bools, also allows for easier extensions
namespace ETranslucencyPass
{
enum Type
{
TPT_TranslucencyStandard,
TPT_TranslucencyStandardModulate,
TPT_TranslucencyAfterDOF,
TPT_TranslucencyAfterDOFModulate,
TPT_TranslucencyAfterMotionBlur,
/** Drawing all translucency, regardless of separate or standard. Used when drawing translucency outside of the main renderer, eg FRendererModule::DrawTile. */
TPT_AllTranslucency,
TPT_MAX
};
};
enum class ETranslucencyView
{
None = 0,
UnderWater = 1 << 0,
AboveWater = 1 << 1,
RayTracing = 1 << 2
};
ENUM_CLASS_FLAGS(ETranslucencyView);