Files
UnrealEngineUWP/Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterShaders/Private/DisplayClusterShadersModule.h
peter tarasenko b11298ae85 [nDisplay]
Refactored the public DCMeshComponent APIs.
Added support for procedural and static mesh components for OutputRemap.
Removed spam in logs.
Added UVs remap for Mesh projection policy
Fixed Horde Issue 125526 (nDisplay related code)

#jira none
#rb Alejandro.Arango, Vitalii.Boiko
#preflight  61c2461ce82d191a14e3e834

#ROBOMERGE-AUTHOR: peter.tarasenko
#ROBOMERGE-SOURCE: CL 18491393 in //UE5/Release-5.0/... via CL 18491395
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18491396 by peter tarasenko in ue5-release-engine-test branch]
2021-12-22 05:30:41 -05:00

34 lines
1.7 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "IDisplayClusterShaders.h"
#include "WarpBlend/DisplayClusterWarpBlendManager.h"
class FDisplayClusterShadersModule
: public IDisplayClusterShaders
{
public:
//////////////////////////////////////////////////////////////////////////////////////////////
// IModuleInterface
//////////////////////////////////////////////////////////////////////////////////////////////
virtual void StartupModule() override;
virtual void ShutdownModule() override;
public:
virtual bool RenderWarpBlend_MPCDI(FRHICommandListImmediate& RHICmdList, const FDisplayClusterShaderParameters_WarpBlend& InWarpBlendParameters) const override;
virtual bool RenderWarpBlend_ICVFX(FRHICommandListImmediate& RHICmdList, const FDisplayClusterShaderParameters_WarpBlend& InWarpBlendParameters, const FDisplayClusterShaderParameters_ICVFX& InICVFXParameters) const override;
virtual bool RenderPostprocess_OutputRemap(FRHICommandListImmediate& RHICmdList, FRHITexture2D* InSourceTexture, FRHITexture2D* InRenderTargetableDestTexture, const IDisplayClusterRender_MeshComponentProxy& MeshProxy) const override;
virtual bool RenderPostprocess_Blur(FRHICommandListImmediate& RHICmdList, FRHITexture2D* InSourceTexture, FRHITexture2D* InRenderTargetableDestTexture, const FDisplayClusterShaderParameters_PostprocessBlur& InSettings) const override;
virtual bool GenerateMips(FRHICommandListImmediate& RHICmdList, FRHITexture2D* InOutMipsTexture, const FDisplayClusterShaderParameters_GenerateMips& InSettings) const override;
virtual const IDisplayClusterWarpBlendManager& GetWarpBlendManager() const override
{
return WarpBlendManager;
}
private:
FDisplayClusterWarpBlendManager WarpBlendManager;
};