Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
helios::mem::ArenaOptions Struct Reference

Configuration for ArenaAllocator. More...

#include <arena_allocator.hpp>

Public Attributes

size_t initial_capacity = 0
 Capacity of the initial backing block in bytes.
GrowthPolicy growth = GrowthPolicy::Geometric()
 Growth policy applied when additional blocks are required.

Detailed Description

Configuration for ArenaAllocator.

Controls initial capacity and growth behavior.

Definition at line 16 of file arena_allocator.hpp.

Member Data Documentation

◆ growth

GrowthPolicy helios::mem::ArenaOptions::growth = GrowthPolicy::Geometric()

Growth policy applied when additional blocks are required.

Definition at line 20 of file arena_allocator.hpp.

◆ initial_capacity

size_t helios::mem::ArenaOptions::initial_capacity = 0

Capacity of the initial backing block in bytes.

Definition at line 18 of file arena_allocator.hpp.