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

#include <SkeletalMeshUpdate.h>

Public Types

typedef int32 EThreadType
 

Public Member Functions

UE_API FSkelMeshUpdateContext (const USkeletalMesh *InMesh, EThreadType InCurrentThread)
 
UE_API FSkelMeshUpdateContext (const UStreamableRenderAsset *InMesh, EThreadType InCurrentThread)
 
EThreadType GetCurrentThread () const
 

Public Attributes

const USkeletalMeshMesh
 
FSkeletalMeshRenderDataRenderData
 
TArrayView< FSkeletalMeshLODRenderData * > LODResourcesView
 
int32 AssetLODBias = 0
 
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

◆ FSkelMeshUpdateContext() [1/2]

FSkelMeshUpdateContext::FSkelMeshUpdateContext ( const USkeletalMesh InMesh,
EThreadType  InCurrentThread 
)

◆ FSkelMeshUpdateContext() [2/2]

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

Member Function Documentation

◆ GetCurrentThread()

EThreadType FSkelMeshUpdateContext::GetCurrentThread ( ) const
inline

Member Data Documentation

◆ AssetLODBias

int32 FSkelMeshUpdateContext::AssetLODBias = 0

Cached value of mesh its LOD bias (MinLOD for SkeletalMesh).

◆ CurrentThread

EThreadType FSkelMeshUpdateContext::CurrentThread

The thread on which the context was created.

◆ LODResourcesView

TArrayView<FSkeletalMeshLODRenderData*> FSkelMeshUpdateContext::LODResourcesView

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

◆ Mesh

const USkeletalMesh* FSkelMeshUpdateContext::Mesh

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

◆ RenderData

FSkeletalMeshRenderData* FSkelMeshUpdateContext::RenderData

The current render data of this mesh.


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