![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SkeletalMeshUpdate.h>
Inheritance diagram for FSkeletalMeshStreamIn:Classes | |
| struct | FIntermediateBuffers |
Protected Member Functions | |
| UE_API void | CreateBuffers (const FContext &Context) |
| UE_API void | DiscardNewLODs (const FContext &Context) |
| UE_API void | DoFinishUpdate (const FContext &Context) |
| UE_API void | DoCancel (const FContext &Context) |
Protected Member Functions inherited from TRenderAssetUpdate< FSkelMeshUpdateContext > | |
| ETaskState | TickInternal (EThreadType InCurrentThread, bool bCheckForSuspension) final override |
| void | ClearCallbacks () |
Protected Member Functions inherited from FRenderAssetUpdate | |
| virtual UE_API | ~FRenderAssetUpdate () |
| void | MarkAsCancelled () |
| void | MarkAsSuccessfullyFinished () |
| UE_API void | ScheduleGTTask () |
| UE_API void | ScheduleRenderTask () |
| UE_API void | ScheduleAsyncTask () |
Protected Attributes | |
| FIntermediateBuffers | IntermediateBuffersArray [MAX_MESH_LOD_COUNT] |
| FRHICommandList * | StreamingRHICmdList = nullptr |
| const EThreadType | CreateResourcesThread |
Protected Attributes inherited from TRenderAssetUpdate< FSkelMeshUpdateContext > | |
| EThreadType | TaskThread |
| FCallback | TaskCallback |
| EThreadType | CancelationThread |
| FCallback | CancelationCallback |
Protected Attributes inherited from FRenderAssetUpdate | |
| const FStreamableRenderResourceState | ResourceState |
| const int32 | CurrentFirstLODIdx = INDEX_NONE |
| const int32 | PendingFirstLODIdx = INDEX_NONE |
| FCriticalSection | CS |
| int32 | ScheduledGTTasks |
| int32 | ScheduledRenderTasks |
| int32 | ScheduledAsyncTasks |
| const UStreamableRenderAsset * | StreamableAsset = nullptr |
| FThreadSafeCounter | TaskSynchronization |
| bool | bIsCancelled |
| bool | bDeferExecution |
| bool | bSuccess |
| volatile ETaskState | TaskState |
Additional Inherited Members | |
Public Types inherited from TRenderAssetUpdate< FSkelMeshUpdateContext > | |
| typedef FSkelMeshUpdateContext | FContext |
| typedef TFunction< void(const FContext &Context)> | FCallback |
Public Types inherited from FRenderAssetUpdate | |
| enum | EThreadType { TT_None , TT_Render , TT_Async , TT_GameThread , TT_GameRunningAsync } |
| enum | ETaskState { TS_Done , TS_Suspended , TS_InProgress , TS_Locked , TS_Init } |
Protected Types inherited from FRenderAssetUpdate | |
| typedef FAutoDeleteAsyncTask< FMipUpdateTask > | FAsyncMipUpdateTask |
| FSkeletalMeshStreamIn::FSkeletalMeshStreamIn | ( | const USkeletalMesh * | InMesh, |
| EThreadType | CreateResourcesThread | ||
| ) |
|
virtual |
Create buffers with new LOD data
Discard newly streamed-in CPU data
Discard streamed-in CPU data and intermediate RHI buffers
Apply the new buffers (if not cancelled) and finish the update process. When cancelled, the intermediate buffers simply gets discarded.
|
protected |
The thread to use for recording the above command list
|
protected |
The intermediate buffers created in the update process.
|
protected |
RHI command list used for creating buffers and replacing the streaming placeholders. Submitted in DoFinishUpdate