dtAllocSetCustom

Sets the base custom allocation functions to be used by Detour.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Detour/DetourAlloc.h

Include

#include "Detour/DetourAlloc.h"

Source

/Engine/Source/Runtime/Navmesh/Private/Detour/DetourAlloc.cpp

Syntax

void dtAllocSetCustom
(
    dtAllocFunc * allocFunc,
    dtFreeFunc * freeFunc
)

Remarks

Sets the base custom allocation functions to be used by Detour.

Parameters

Parameter

Description

allocFunc

The memory allocation function to be used by dtAlloc

freeFunc

The memory de-allocation function to be used by dtFree

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