UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Renderer::Private::IShadowInvalidatingInstances Class Referenceabstract

#include <SceneRendererInterface.h>

Public Member Functions

virtual ~IShadowInvalidatingInstances ()=default
 
virtual void AddPrimitive (const FPrimitiveSceneInfo *PrimitiveSceneInfo)=0
 
virtual void AddInstanceRange (FPersistentPrimitiveIndex PersistentPrimitiveIndex, uint32 InstanceSceneDataOffset, uint32 NumInstanceSceneDataEntries)=0
 

Detailed Description

Experimental interface to invalidate (VSM) shadows by marking instances during a scene render. The collected objects are invalidated at the next scene update time, before GPU-Scene update, so this can't be used to trigger invalidation for the current frame. NOTE: marked as Renderer::Private as it is experimental and may be subject to change.

Constructor & Destructor Documentation

◆ ~IShadowInvalidatingInstances()

virtual UE::Renderer::Private::IShadowInvalidatingInstances::~IShadowInvalidatingInstances ( )
virtualdefault

Member Function Documentation

◆ AddInstanceRange()

virtual void UE::Renderer::Private::IShadowInvalidatingInstances::AddInstanceRange ( FPersistentPrimitiveIndex  PersistentPrimitiveIndex,
uint32  InstanceSceneDataOffset,
uint32  NumInstanceSceneDataEntries 
)
pure virtual

Add a range of instances for invalidation. Should be called from the render thread.

◆ AddPrimitive()

virtual void UE::Renderer::Private::IShadowInvalidatingInstances::AddPrimitive ( const FPrimitiveSceneInfo PrimitiveSceneInfo)
pure virtual

Add primitive for invalidation. Will add all the instances to the queue. Should be called from the render thread.


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