Jolt Physics
A multi core friendly Game Physics Engine
|
Macros | |
#define | JPH_ALLOC_FN(x) x##Impl |
#define | JPH_ALLOC_SCOPE static |
Functions | |
JPH_ALLOC_SCOPE void *JPH_ALLOC_FN() | Allocate (size_t inSize) |
JPH_ALLOC_SCOPE void *JPH_ALLOC_FN() | Reallocate (void *inBlock, size_t inOldSize, size_t inNewSize) |
JPH_ALLOC_SCOPE void JPH_ALLOC_FN() | Free (void *inBlock) |
JPH_ALLOC_SCOPE void *JPH_ALLOC_FN() | AlignedAllocate (size_t inSize, size_t inAlignment) |
JPH_ALLOC_SCOPE void JPH_ALLOC_FN() | AlignedFree (void *inBlock) |
void | RegisterDefaultAllocator () |
Register platform default allocation / free functions. More... | |
Variables | |
AllocateFunction | Allocate = nullptr |
ReallocateFunction | Reallocate = nullptr |
FreeFunction | Free = nullptr |
AlignedAllocateFunction | AlignedAllocate = nullptr |
AlignedFreeFunction | AlignedFree = nullptr |
#define JPH_ALLOC_FN | ( | x | ) | x##Impl |
#define JPH_ALLOC_SCOPE static |
JPH_ALLOC_SCOPE void *JPH_ALLOC_FN() AlignedAllocate | ( | size_t | inSize, |
size_t | inAlignment | ||
) |
JPH_ALLOC_SCOPE void JPH_ALLOC_FN() AlignedFree | ( | void * | inBlock | ) |
JPH_ALLOC_SCOPE void *JPH_ALLOC_FN() Allocate | ( | size_t | inSize | ) |
JPH_ALLOC_SCOPE void JPH_ALLOC_FN() Free | ( | void * | inBlock | ) |
JPH_ALLOC_SCOPE void *JPH_ALLOC_FN() Reallocate | ( | void * | inBlock, |
size_t | inOldSize, | ||
size_t | inNewSize | ||
) |
void RegisterDefaultAllocator | ( | ) |
Register platform default allocation / free functions.
AlignedAllocateFunction AlignedAllocate = nullptr |
AlignedFreeFunction AlignedFree = nullptr |
AllocateFunction Allocate = nullptr |
FreeFunction Free = nullptr |
ReallocateFunction Reallocate = nullptr |