文档

Unity Engine

Unity Engine

GlobalScratchpad

A global scratchpad.
阅读时间1 分钟最后更新于 19 天前

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.