UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FLightCacheInterface Class Referenceabstract

#include <SceneManagement.h>

+ Inheritance diagram for FLightCacheInterface:

Public Member Functions

virtual ~FLightCacheInterface ()
 
virtual FLightInteraction GetInteraction (const class FLightSceneProxy *LightSceneProxy) const =0
 
ENGINE_API ELightInteractionType GetStaticInteraction (const FLightSceneProxy *LightSceneProxy, const TArray< FGuid > &IrrelevantLights) const
 
ENGINE_API void CreatePrecomputedLightingUniformBuffer_RenderingThread (ERHIFeatureLevel::Type FeatureLevel)
 
ENGINE_API bool GetVirtualTextureLightmapProducer (ERHIFeatureLevel::Type FeatureLevel, FVirtualTextureProducerHandle &OutProducerHandle)
 
void SetLightMap (const FLightMap *InLightMap)
 
void SetResourceCluster (const FLightmapResourceCluster *InResourceCluster)
 
const FLightMapGetLightMap () const
 
void SetShadowMap (const FShadowMap *InShadowMap)
 
const FShadowMapGetShadowMap () const
 
const FLightmapResourceClusterGetResourceCluster () const
 
void SetGlobalVolumeLightmap (bool bInGlobalVolumeLightmap)
 
FRHIUniformBufferGetPrecomputedLightingBuffer () const
 
void SetPrecomputedLightingBuffer (FRHIUniformBuffer *InPrecomputedLightingUniformBuffer)
 
ENGINE_API FLightMapInteraction GetLightMapInteraction (ERHIFeatureLevel::Type InFeatureLevel) const
 
ENGINE_API FShadowMapInteraction GetShadowMapInteraction (ERHIFeatureLevel::Type InFeatureLevel) const
 

Public Attributes

bool bCanUsePrecomputedLightingParametersFromGPUScene = false
 

Detailed Description

An interface to cached lighting for a specific mesh.

Constructor & Destructor Documentation

◆ ~FLightCacheInterface()

virtual FLightCacheInterface::~FLightCacheInterface ( )
inlinevirtual

Member Function Documentation

◆ CreatePrecomputedLightingUniformBuffer_RenderingThread()

void FLightCacheInterface::CreatePrecomputedLightingUniformBuffer_RenderingThread ( ERHIFeatureLevel::Type  FeatureLevel)

◆ GetInteraction()

virtual FLightInteraction FLightCacheInterface::GetInteraction ( const class FLightSceneProxy LightSceneProxy) const
pure virtual

◆ GetLightMap()

const FLightMap * FLightCacheInterface::GetLightMap ( ) const
inline

◆ GetLightMapInteraction()

FLightMapInteraction FLightCacheInterface::GetLightMapInteraction ( ERHIFeatureLevel::Type  InFeatureLevel) const

◆ GetPrecomputedLightingBuffer()

FRHIUniformBuffer * FLightCacheInterface::GetPrecomputedLightingBuffer ( ) const
inline

◆ GetResourceCluster()

const FLightmapResourceCluster * FLightCacheInterface::GetResourceCluster ( ) const
inline

◆ GetShadowMap()

const FShadowMap * FLightCacheInterface::GetShadowMap ( ) const
inline

◆ GetShadowMapInteraction()

FShadowMapInteraction FLightCacheInterface::GetShadowMapInteraction ( ERHIFeatureLevel::Type  InFeatureLevel) const

◆ GetStaticInteraction()

ELightInteractionType FLightCacheInterface::GetStaticInteraction ( const FLightSceneProxy LightSceneProxy,
const TArray< FGuid > &  IrrelevantLights 
) const

◆ GetVirtualTextureLightmapProducer()

bool FLightCacheInterface::GetVirtualTextureLightmapProducer ( ERHIFeatureLevel::Type  FeatureLevel,
FVirtualTextureProducerHandle OutProducerHandle 
)

◆ SetGlobalVolumeLightmap()

void FLightCacheInterface::SetGlobalVolumeLightmap ( bool  bInGlobalVolumeLightmap)
inline

◆ SetLightMap()

void FLightCacheInterface::SetLightMap ( const FLightMap InLightMap)
inline

◆ SetPrecomputedLightingBuffer()

void FLightCacheInterface::SetPrecomputedLightingBuffer ( FRHIUniformBuffer InPrecomputedLightingUniformBuffer)
inline

◆ SetResourceCluster()

void FLightCacheInterface::SetResourceCluster ( const FLightmapResourceCluster InResourceCluster)
inline

◆ SetShadowMap()

void FLightCacheInterface::SetShadowMap ( const FShadowMap InShadowMap)
inline

Member Data Documentation

◆ bCanUsePrecomputedLightingParametersFromGPUScene

bool FLightCacheInterface::bCanUsePrecomputedLightingParametersFromGPUScene = false

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