rcAllocSetCustom

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

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Recast/RecastAlloc.h

Include

#include "Recast/RecastAlloc.h"

Source

/Engine/Source/Runtime/Navmesh/Private/Recast/RecastAlloc.cpp

Syntax

void rcAllocSetCustom
(
    rcAllocFunc * allocFunc,
    rcFreeFunc * freeFunc
)

Remarks

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

Parameters

Parameter

Description

allocFunc

The memory allocation function to be used by rcAlloc

freeFunc

The memory de-allocation function to be used by rcFree

See Also

rcAlloc

rcFree

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