UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FStaticMeshUpdateContext Struct Reference

#include <StaticMeshUpdate.h>

Public Types

typedef int32 EThreadType
 

Public Member Functions

 FStaticMeshUpdateContext (const UStaticMesh *InMesh, EThreadType InCurrentThread)
 
 FStaticMeshUpdateContext (const UStreamableRenderAsset *InMesh, EThreadType InCurrentThread)
 
EThreadType GetCurrentThread () const
 

Public Attributes

const UStaticMeshMesh
 
FStaticMeshRenderDataRenderData
 
TArrayView< FStaticMeshLODResources * > LODResourcesView
 
EThreadType CurrentThread
 

Detailed Description

A context used to update or proceed with the next update step. The mesh and render data references could be stored in the update object but are currently kept outside to avoid lifetime management within the object.

Member Typedef Documentation

◆ EThreadType

Constructor & Destructor Documentation

◆ FStaticMeshUpdateContext() [1/2]

FStaticMeshUpdateContext::FStaticMeshUpdateContext ( const UStaticMesh InMesh,
EThreadType  InCurrentThread 
)

◆ FStaticMeshUpdateContext() [2/2]

FStaticMeshUpdateContext::FStaticMeshUpdateContext ( const UStreamableRenderAsset InMesh,
EThreadType  InCurrentThread 
)

Member Function Documentation

◆ GetCurrentThread()

EThreadType FStaticMeshUpdateContext::GetCurrentThread ( ) const
inline

Member Data Documentation

◆ CurrentThread

EThreadType FStaticMeshUpdateContext::CurrentThread

The thread on which the context was created.

◆ LODResourcesView

TArrayView<FStaticMeshLODResources*> FStaticMeshUpdateContext::LODResourcesView

The array view of streamable LODs from the asset. Takes into account FStreamableRenderResourceState::AssetLODBias and FStreamableRenderResourceState::MaxNumLODs.

◆ Mesh

const UStaticMesh* FStaticMeshUpdateContext::Mesh

The mesh to update, this must be the same one as the one used when creating the FStaticMeshUpdate object.

◆ RenderData

FStaticMeshRenderData* FStaticMeshUpdateContext::RenderData

The current render data of this mesh.


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