UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SceneUtils.cpp File Reference
#include "SceneUtils.h"
#include "HAL/IConsoleManager.h"
#include "RHI.h"
#include "Engine/Scene.h"
#include "RenderUtils.h"
#include "DataDrivenShaderPlatformInfo.h"
#include "ComponentReregisterContext.h"

Functions

 DEFINE_LOG_CATEGORY (LogSceneUtils)
 
void OnCustomDepthChanged (IConsoleVariable *Var)
 
void InitCustomDepth ()
 
ECustomDepthMode GetCustomDepthMode ()
 
bool IsMobilePropagateAlphaEnabled (EShaderPlatform Platform)
 
ENGINE_API bool IsMobileTonemapSubpassEnabled (EShaderPlatform Platform, bool bMultiViewRendering)
 
ENGINE_API bool IsMobileTonemapSubpassEnabledInline (EShaderPlatform Platform, bool bMultiViewRendering, uint32 NumMSAASamples)
 
ENGINE_API bool IsMobileColorsRGB ()
 
ENGINE_API EAntiAliasingMethod GetDefaultAntiAliasingMethod (const FStaticFeatureLevel InFeatureLevel)
 
ENGINE_API const TCHARGetShortAntiAliasingName (EAntiAliasingMethod AntiAliasingMethod)
 
ENGINE_API uint32 GetDefaultMSAACount (const FStaticFeatureLevel InFeatureLevel, uint32 PlatformMaxSampleCount)
 

Function Documentation

◆ DEFINE_LOG_CATEGORY()

DEFINE_LOG_CATEGORY ( LogSceneUtils  )

◆ GetCustomDepthMode()

ECustomDepthMode GetCustomDepthMode ( )

◆ GetDefaultAntiAliasingMethod()

ENGINE_API EAntiAliasingMethod GetDefaultAntiAliasingMethod ( const FStaticFeatureLevel  InFeatureLevel)

◆ GetDefaultMSAACount()

ENGINE_API uint32 GetDefaultMSAACount ( const FStaticFeatureLevel  InFeatureLevel,
uint32  PlatformMaxSampleCount 
)

◆ GetShortAntiAliasingName()

ENGINE_API const TCHAR * GetShortAntiAliasingName ( EAntiAliasingMethod  AntiAliasingMethod)

◆ InitCustomDepth()

void InitCustomDepth ( )

◆ IsMobileColorsRGB()

ENGINE_API bool IsMobileColorsRGB ( )

◆ IsMobilePropagateAlphaEnabled()

bool IsMobilePropagateAlphaEnabled ( EShaderPlatform  Platform)

True if Alpha Propagate is enabled for the mobile renderer.

◆ IsMobileTonemapSubpassEnabled()

ENGINE_API bool IsMobileTonemapSubpassEnabled ( EShaderPlatform  Platform,
bool  bMultiViewRendering 
)

◆ IsMobileTonemapSubpassEnabledInline()

ENGINE_API bool IsMobileTonemapSubpassEnabledInline ( EShaderPlatform  Platform,
bool  bMultiViewRendering,
uint32  NumMSAASamples 
)

◆ OnCustomDepthChanged()

void OnCustomDepthChanged ( IConsoleVariable Var)