ドキュメント

Unity Engine

Download Unity

Unity Engine

Scratchpad(int, int, bool, int)

Create a Scratchpad.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
[ExcludeFromBurstCompatTesting("Accesses managed delegates")]public Scratchpad(int numScratchpadAllocators, int initialSizeInBytes = 32768, bool isGlobal = false, int globalIndex = 0)

Parameters

numScratchpadAllocators

The number of ScratchpadAllocators the created Scratchpad should contain.

initialSizeInBytes

The initial size of the Scratchpad in bytes. Set to 32,768 by default.

isGlobal

Flag indicating if the allocator is a global allocator.

globalIndex

Base index into the global function table of the allocator to be created.