UHierarchicalInstancedStaticMeshComponent::PreAllocateInstancesMemory

Preallocated memory to include the new added instances count, to prevent reallloc during the add operation.

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual void PreAllocateInstancesMemory
(
    int32 AddedInstanceCount
)

Remarks

Preallocated memory to include the new added instances count, to prevent reallloc during the add operation.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss