Documentation

Unity Engine


Unity Engine


GlobalScratchpad

A global scratchpad.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Struct
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public struct GlobalScratchpad

Static Methods

Method

Description

GetAllocatorRetrieve a global scratchpad allocator.
InitializeInitialize the global scratchpad, create and register all the global scratchpad allocators.
RewindRewind the Scratchpad; rewinds all ScratchpadAllocator invalidate all allocations made from it, and potentially also free memory blocks it has allocated from the system.