UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FInstanceDataUpdateTaskInfo Class Reference

#include <InstanceDataSceneProxy.h>

Public Member Functions

const FInstanceDataBufferHeaderGetHeader () const
 
ENGINE_API void WaitForUpdateCompletion ()
 

Friends

template<typename TaskLambdaType >
void BeginInstanceDataUpdateTask (FInstanceDataUpdateTaskInfo &InstanceDataUpdateTaskInfo, TaskLambdaType &&TaskLambda, const FInstanceDataBufferHeader &InInstanceDataBufferHeader)
 

Member Function Documentation

◆ GetHeader()

const FInstanceDataBufferHeader & FInstanceDataUpdateTaskInfo::GetHeader ( ) const
inline

The header is always available, and so does not cause a sync. TODO: in the future, it might be possible to have other update tasks (that generate the data on the fly perhaps) that don't have this info handy at dispatch time, those would need to sync & fetch.

◆ WaitForUpdateCompletion()

void FInstanceDataUpdateTaskInfo::WaitForUpdateCompletion ( )

Must call this before accessing the majority of the data in the instance data buffers.

Friends And Related Symbol Documentation

◆ BeginInstanceDataUpdateTask

template<typename TaskLambdaType >
void BeginInstanceDataUpdateTask ( FInstanceDataUpdateTaskInfo InstanceDataUpdateTaskInfo,
TaskLambdaType &&  TaskLambda,
const FInstanceDataBufferHeader InInstanceDataBufferHeader 
)
friend

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