UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MegaLights.h File Reference
#include "SceneView.h"
#include "CoreMinimal.h"
#include "Engine/EngineTypes.h"

Go to the source code of this file.

Classes

class  FMegaLightsVolume
 

Namespaces

namespace  ECastRayTracedShadow
 
namespace  StochasticLighting
 
namespace  MegaLights
 

Typedefs

using FRDGTextureRef = FRDGTexture *
 

Enumerations

enum class  EMegaLightsMode { Disabled , EnabledRT , EnabledVSM }
 

Functions

bool MegaLights::IsEnabled (const FSceneViewFamily &ViewFamily)
 
bool MegaLights::IsUsingClosestHZB (const FSceneViewFamily &ViewFamily)
 
bool MegaLights::IsUsingGlobalSDF (const FSceneViewFamily &ViewFamily)
 
bool MegaLights::IsUsingLightFunctions (const FSceneViewFamily &ViewFamily)
 
bool MegaLights::IsUsingLightingChannels ()
 
bool MegaLights::IsSoftwareRayTracingSupported (const FSceneViewFamily &ViewFamily)
 
bool MegaLights::IsHardwareRayTracingSupported (const FSceneViewFamily &ViewFamily)
 
EMegaLightsMode MegaLights::GetMegaLightsMode (const FSceneViewFamily &ViewFamily, uint8 LightType, bool bLightAllowsMegaLights, TEnumAsByte< EMegaLightsShadowMethod::Type > ShadowMethod)
 
bool MegaLights::UseHardwareRayTracing (const FSceneViewFamily &ViewFamily)
 
bool MegaLights::UseInlineHardwareRayTracing (const FSceneViewFamily &ViewFamily)
 
bool MegaLights::ShouldCompileShaders (EShaderPlatform ShaderPlatform)
 
bool MegaLights::ShouldCompileShadersForReferenceMode (EShaderPlatform InPlatform)
 
bool MegaLights::UseFarField (const FSceneViewFamily &ViewFamily)
 
bool MegaLights::UseVolume ()
 
bool MegaLights::UseTranslucencyVolume ()
 
bool MegaLights::IsTranslucencyVolumeSpatialFilterEnabled ()
 
bool MegaLights::IsTranslucencyVolumeTemporalFilterEnabled ()
 
bool MegaLights::IsMarkingVSMPages ()
 
uint32 MegaLights::GetSampleMargin ()
 
bool MegaLights::HasWarning (const FSceneViewFamily &ViewFamily)
 
void MegaLights::WriteWarnings (const FSceneViewFamily &ViewFamily, FScreenMessageWriter &Writer)
 
void MegaLights::SetupTileClassifyParameters (const FViewInfo &View, MegaLights::FTileClassifyParameters &OutParameters)
 
FIntPoint MegaLights::GetDownsampleFactorXY (StochasticLighting::EMaterialSource MaterialSource, EShaderPlatform ShaderPlatform)
 

Typedef Documentation

◆ FRDGTextureRef

Enumeration Type Documentation

◆ EMegaLightsMode

enum class EMegaLightsMode
strong
Enumerator
Disabled 
EnabledRT 
EnabledVSM