Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/RecastAlloc.h |
Include |
#include "Recast/RecastAlloc.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Recast/RecastAlloc.cpp |
void * rcAlloc
(
int size,
rcAllocHint hint
)
Allocates a memory block.
A pointer to the beginning of the allocated memory block, or null if the allocation failed.
Parameter |
Description |
---|---|
size |
The size, in bytes of memory, to allocate. |
hint |
A hint to the allocator on how long the memory is expected to be in use. |
rcFree
rcAllocSetCustom