UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FBatchingSPDI Class Reference
+ Inheritance diagram for FBatchingSPDI:

Public Member Functions

 FBatchingSPDI (FPrimitiveSceneInfo *InPrimitiveSceneInfo)
 
virtual void SetHitProxy (HHitProxy *HitProxy) final override
 
virtual void ReserveMemoryForMeshes (int32 MeshNum)
 
virtual void DrawMesh (const FMeshBatch &Mesh, float ScreenSize) final override
 
- Public Member Functions inherited from FStaticPrimitiveDrawInterface
virtual ~FStaticPrimitiveDrawInterface ()
 

Detailed Description

An implementation of FStaticPrimitiveDrawInterface that stores the drawn elements for the rendering thread to use.

Constructor & Destructor Documentation

◆ FBatchingSPDI()

FBatchingSPDI::FBatchingSPDI ( FPrimitiveSceneInfo InPrimitiveSceneInfo)
inline

Member Function Documentation

◆ DrawMesh()

virtual void FBatchingSPDI::DrawMesh ( const FMeshBatch Mesh,
float  ScreenSize 
)
inlinefinaloverridevirtual

◆ ReserveMemoryForMeshes()

virtual void FBatchingSPDI::ReserveMemoryForMeshes ( int32  MeshNum)
inlinevirtual

Reserve memory for specified number of meshes in order to minimize number of allocations inside DrawMesh.

Implements FStaticPrimitiveDrawInterface.

◆ SetHitProxy()

virtual void FBatchingSPDI::SetHitProxy ( HHitProxy HitProxy)
inlinefinaloverridevirtual

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