Files
UnrealEngine/Engine/Source/Runtime/Renderer/Private/PostProcess/DebugAlphaChannel.h
2025-05-18 13:04:45 +08:00

28 lines
548 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "RendererInterface.h"
#include "ScreenPass.h"
class FViewInfo;
struct FMinimalSceneTextures;
#if !UE_BUILD_SHIPPING
#define DEBUG_ALPHA_CHANNEL 1
#else
#define DEBUG_ALPHA_CHANNEL 0
#endif
#if DEBUG_ALPHA_CHANNEL
bool ShouldMakeDistantGeometryTranslucent();
FRDGTextureMSAA MakeDistanceGeometryTranslucent(
FRDGBuilder& GraphBuilder,
TArrayView<const FViewInfo> Views,
FMinimalSceneTextures SceneTextures);
#endif // DEBUG_ALPHA_CHANNEL