Scripting API

AllocatorManager

static class in Unity.Collections · Unity.Collections

12 of 19 of Unity's members
In Tassix

Allocator handles (the built-in allocators by index) and allocation through them.

Fields 8

static readonly AllocatorHandle AudioKernel
const ushort FirstUserIndex
static readonly AllocatorHandle Invalid
const ushort MaxNumCustomAllocators
static readonly AllocatorHandle None
static readonly AllocatorHandle Persistent
static readonly AllocatorHandle Temp
static readonly AllocatorHandle TempJob

Methods 4

static void* Allocate(AllocatorHandle handle, int itemSizeInBytes, int alignmentInBytes, int items = 1)
static T* Allocate<T>(AllocatorHandle handle, int items = 1)
static void Free(AllocatorHandle handle, void* pointer, int itemSizeInBytes, int alignmentInBytes, int items = 1)
static void Free(AllocatorHandle handle, void* pointer)
static void Free<T>(AllocatorHandle handle, T* pointer, int items = 1)
static void Initialize()
static void Shutdown()

Not in Tassix yet 7

ConvertToAllocatorHandle Register Try UnmanagedUnregister Unregister kErrorBufferOverflow kErrorNone