UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FTranslucencyComposition Struct Reference

#include <TranslucentRendering.h>

Public Types

enum class  EOperation { UpscaleOnly , ComposeToExistingSceneColor , ComposeToNewSceneColor , ComposeToSceneColorAlpha }
 

Public Member Functions

FScreenPassTexture AddPass (FRDGBuilder &GraphBuilder, const FViewInfo &View, const FTranslucencyPassResources &TranslucencyTextures) const
 

Public Attributes

EOperation Operation = EOperation::UpscaleOnly
 
bool bApplyModulateOnly = false
 
FScreenPassTextureSlice SceneColor
 
FScreenPassTexture SceneDepth
 
FScreenPassTextureViewport OutputViewport
 
EPixelFormat OutputPixelFormat = PF_Unknown
 
FLensDistortionLUT LensDistortionLUT
 

Detailed Description

Add a pass to compose separate translucency.

Member Enumeration Documentation

◆ EOperation

Enumerator
UpscaleOnly 
ComposeToExistingSceneColor 
ComposeToNewSceneColor 
ComposeToSceneColorAlpha 

Member Function Documentation

◆ AddPass()

FScreenPassTexture FTranslucencyComposition::AddPass ( FRDGBuilder GraphBuilder,
const FViewInfo View,
const FTranslucencyPassResources TranslucencyTextures 
) const

Member Data Documentation

◆ bApplyModulateOnly

bool FTranslucencyComposition::bApplyModulateOnly = false

◆ LensDistortionLUT

FLensDistortionLUT FTranslucencyComposition::LensDistortionLUT

◆ Operation

EOperation FTranslucencyComposition::Operation = EOperation::UpscaleOnly

◆ OutputPixelFormat

EPixelFormat FTranslucencyComposition::OutputPixelFormat = PF_Unknown

◆ OutputViewport

FScreenPassTextureViewport FTranslucencyComposition::OutputViewport

◆ SceneColor

FScreenPassTextureSlice FTranslucencyComposition::SceneColor

◆ SceneDepth

FScreenPassTexture FTranslucencyComposition::SceneDepth

The documentation for this struct was generated from the following files: