UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LumenScene Namespace Reference

Functions

bool HasPrimitiveNaniteMeshBatches (const FPrimitiveSceneProxy *Proxy)
 
bool AllowSurfaceCacheCardSharing ()
 
bool CullUndergroundTexels ()
 
void AllocateCardCaptureAtlas (FRDGBuilder &GraphBuilder, FIntPoint CardCaptureAtlasSize, FCardCaptureAtlas &CardCaptureAtlas, EShaderPlatform ShaderPlatform)
 
void AddCardCaptureDraws (const FScene *Scene, FCardPageRenderData &CardPageRenderData, const FLumenPrimitiveGroup &PrimitiveGroup, TConstArrayView< const FPrimitiveSceneInfo * > SceneInfoPrimitives, FMeshCommandOneFrameArray &VisibleMeshCommands, TArray< int32, SceneRenderingAllocator > &PrimitiveIds)
 
float GetCardMaxDistance (const FViewInfo &View)
 
float GetCardTexelDensity ()
 
float GetFarFieldCardTexelDensity ()
 
float GetFarFieldCardMaxDistance ()
 
int32 GetCardMinResolution (bool bOrthographicCamera)
 
void GPUDrivenUpdate (FRDGBuilder &GraphBuilder, const FScene *Scene, TArray< FViewInfo > &Views, const FLumenSceneFrameTemporaries &FrameTemporaries)
 
int32 GetMaxMeshCardsToAddPerFrame ()
 
int32 GetMaxMeshCardsRemovesPerFrame ()
 

Function Documentation

◆ AddCardCaptureDraws()

void LumenScene::AddCardCaptureDraws ( const FScene Scene,
FCardPageRenderData CardPageRenderData,
const FLumenPrimitiveGroup PrimitiveGroup,
TConstArrayView< const FPrimitiveSceneInfo * >  SceneInfoPrimitives,
FMeshCommandOneFrameArray VisibleMeshCommands,
TArray< int32, SceneRenderingAllocator > &  PrimitiveIds 
)

◆ AllocateCardCaptureAtlas()

void LumenScene::AllocateCardCaptureAtlas ( FRDGBuilder GraphBuilder,
FIntPoint  CardCaptureAtlasSize,
FCardCaptureAtlas CardCaptureAtlas,
EShaderPlatform  ShaderPlatform 
)

◆ AllowSurfaceCacheCardSharing()

bool LumenScene::AllowSurfaceCacheCardSharing ( )

◆ CullUndergroundTexels()

bool LumenScene::CullUndergroundTexels ( )

◆ GetCardMaxDistance()

float LumenScene::GetCardMaxDistance ( const FViewInfo View)

◆ GetCardMinResolution()

int32 LumenScene::GetCardMinResolution ( bool  bOrthographicCamera)

◆ GetCardTexelDensity()

float LumenScene::GetCardTexelDensity ( )

◆ GetFarFieldCardMaxDistance()

float LumenScene::GetFarFieldCardMaxDistance ( )

◆ GetFarFieldCardTexelDensity()

float LumenScene::GetFarFieldCardTexelDensity ( )

◆ GetMaxMeshCardsRemovesPerFrame()

int32 LumenScene::GetMaxMeshCardsRemovesPerFrame ( )

◆ GetMaxMeshCardsToAddPerFrame()

int32 LumenScene::GetMaxMeshCardsToAddPerFrame ( )

◆ GPUDrivenUpdate()

void LumenScene::GPUDrivenUpdate ( FRDGBuilder GraphBuilder,
const FScene Scene,
TArray< FViewInfo > &  Views,
const FLumenSceneFrameTemporaries FrameTemporaries 
)

Run Lumen GPU Scene Update to find which primitive groups are visible and require cards and which should be hidden.

◆ HasPrimitiveNaniteMeshBatches()

bool LumenScene::HasPrimitiveNaniteMeshBatches ( const FPrimitiveSceneProxy Proxy)