Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/InstancedStaticMesh > API/Runtime/Engine/InstancedStaticMesh/FISMCInstanceDataSceneProxy
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/InstancedStaticMesh/ISMInstanceDataSceneProxy.h |
| Include | #include "InstancedStaticMesh/ISMInstanceDataSceneProxy.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh/ISMInstanceDataSceneProxy.cpp |
void BuildFromOptimizedDataBuffers
(
FISMInstanceUpdateChangeSet & ChangeSet,
FInstanceIdIndexMap & OutInstanceIdIndexMap,
FInstanceSceneDataBuffers::FWriteView & OutData
)
Remarks
Build an optimized instance buffer, where the order is sorted such that instances with the same spatial hash are consecutive.