Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UHierarchicalInstancedStaticMesh-
- UInstancedStaticMeshComponent::PreAllocateInstancesMemory()
- UHierarchicalInstancedStaticMeshComponent::PreAllocateInstancesMemory()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/HierarchicalInstancedStaticMeshComponent.h |
| Include | #include "Components/HierarchicalInstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/HierarchicalInstancedStaticMesh.cpp |
virtual void PreAllocateInstancesMemory
&40;
int32 AddedInstanceCount
&41;
Remarks
Preallocated memory to include the new added instances count, to prevent reallloc during the add operation.