![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 UStaticMesh * | Mesh |
| FStaticMeshRenderData * | RenderData |
| TArrayView< FStaticMeshLODResources * > | LODResourcesView |
| EThreadType | CurrentThread |
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.
| FStaticMeshUpdateContext::FStaticMeshUpdateContext | ( | const UStaticMesh * | InMesh, |
| EThreadType | InCurrentThread | ||
| ) |
| FStaticMeshUpdateContext::FStaticMeshUpdateContext | ( | const UStreamableRenderAsset * | InMesh, |
| EThreadType | InCurrentThread | ||
| ) |
|
inline |
| EThreadType FStaticMeshUpdateContext::CurrentThread |
The thread on which the context was created.
| TArrayView<FStaticMeshLODResources*> FStaticMeshUpdateContext::LODResourcesView |
The array view of streamable LODs from the asset. Takes into account FStreamableRenderResourceState::AssetLODBias and FStreamableRenderResourceState::MaxNumLODs.
| const UStaticMesh* FStaticMeshUpdateContext::Mesh |
The mesh to update, this must be the same one as the one used when creating the FStaticMeshUpdate object.
| FStaticMeshRenderData* FStaticMeshUpdateContext::RenderData |
The current render data of this mesh.