UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DecalRenderingShared.h File Reference
#include "CoreMinimal.h"
#include "RendererInterface.h"
#include "DecalRenderingCommon.h"

Go to the source code of this file.

Classes

struct  FVisibleDecal
 
class  FDecalVisibilityViewPacket
 
class  FDecalVisibilityTaskData
 

Namespaces

namespace  DecalRendering
 

Typedefs

template<typename ShaderType >
using TShaderRef = TShaderRefBase< ShaderType, FShaderMapPointerTable >
 
using FVisibleDecalList = TArray< FVisibleDecal, SceneRenderingAllocator >
 
using FRelevantDecalList = TArray< const FVisibleDecal *, SceneRenderingAllocator >
 

Functions

float DecalRendering::GetDecalFadeScreenSizeMultiplier ()
 
float DecalRendering::CalculateDecalFadeAlpha (float DecalFadeScreenSize, const FMatrix &ComponentToWorldMatrix, const FViewInfo &View, float FadeMultiplier)
 
FMatrix DecalRendering::ComputeComponentToClipMatrix (const FViewInfo &View, const FMatrix &DecalComponentToWorld)
 
void DecalRendering::SetVertexShaderOnly (FRHICommandList &RHICmdList, FGraphicsPipelineStateInitializer &GraphicsPSOInit, const FViewInfo &View, const FMatrix &FrustumComponentToClip)
 
void DecalRendering::SortDecalList (FRelevantDecalList &Decals)
 
FVisibleDecalList DecalRendering::BuildVisibleDecalList (TConstArrayView< FDeferredDecalProxy * > Decals, const FViewInfo &View)
 
FRelevantDecalList DecalRendering::BuildRelevantDecalList (TConstArrayView< FVisibleDecal > Decals, EDecalRenderStage DecalRenderStage)
 
bool DecalRendering::HasRelevantDecals (TConstArrayView< FVisibleDecal > Decals, EDecalRenderStage DecalRenderStage)
 
bool DecalRendering::GetShaders (ERHIFeatureLevel::Type FeatureLevel, const FMaterial &Material, EDecalRenderStage DecalRenderStage, TShaderRef< FShader > &OutVertexShader, TShaderRef< FShader > &OutPixelShader)
 
bool DecalRendering::SetupShaderState (ERHIFeatureLevel::Type FeatureLevel, const FMaterial &Material, EDecalRenderStage DecalRenderStage, FBoundShaderStateInput &OutBoundShaderState)
 
void DecalRendering::SetShader (FRHICommandList &RHICmdList, FGraphicsPipelineStateInitializer &GraphicsPSOInit, uint32 StencilRef, const FViewInfo &View, const FVisibleDecal &VisibleDecal, EDecalRenderStage DecalRenderStage, const FMatrix &FrustumComponentToClip, const FScene *Scene)
 

Typedef Documentation

◆ FRelevantDecalList

◆ FVisibleDecalList

◆ TShaderRef

template<typename ShaderType >
using TShaderRef = TShaderRefBase<ShaderType, FShaderMapPointerTable>