FStaticPrimitiveDrawInterface::ReserveMemoryForMeshes

Reserve memory for specified number of meshes in order to minimize number of allocations inside DrawMesh.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneManagement.h

Include

#include "SceneManagement.h"

Syntax

void ReserveMemoryForMeshes
(
    int32 MeshNum
)

Remarks

Reserve memory for specified number of meshes in order to minimize number of allocations inside DrawMesh.