# Interface: PoolAllocatorConfig

A configuration object for the pool allocator.

# Table of contents

# Properties

# Properties

# maxComponentPerType

Optional maxComponentPerType: [clazz: NoArgsComponentConstructor<Component>, max: number][]

The maximum number of free components per type to store.

# Defined in

src/pooling/PoolAllocator.ts:15 (opens new window)


# maxComponentsDefault

Optional maxComponentsDefault: number

The default maximum number of free components per type to store.

# Defined in

src/pooling/PoolAllocator.ts:13 (opens new window)


# maxEntities

Optional maxEntities: number

The maximum number of free entities to store.

# Defined in

src/pooling/PoolAllocator.ts:11 (opens new window)