EntityStore.EnsureCapacity(int).md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.EntityStore

EntityStore.EnsureCapacity(int) Method

Allocates memory for entities in the store to enable creating entities without reallocation.

public int EnsureCapacity(int capacity);

Parameters

capacity System.Int32

Returns

System.Int32
The number of entities that can be added without reallocation.

Contents

  1. 0.1Friflo.Engine.ECS.EntityStore
  2. 1EntityStore.EnsureCapacity(int) Method