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

Configuration for FrameAllocator. More...

#include <frame_allocator.hpp>

Public Attributes

size_t initial_capacity = 0
 Initial per-frame arena capacity in bytes.
GrowthPolicy growth = GrowthPolicy::Geometric()
 Growth policy applied to each frame arena.

Detailed Description

Configuration for FrameAllocator.

Controls per-frame arena capacity and growth behavior.

Definition at line 20 of file frame_allocator.hpp.

Member Data Documentation

◆ growth

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

Growth policy applied to each frame arena.

Definition at line 24 of file frame_allocator.hpp.

◆ initial_capacity

size_t helios::mem::FrameAllocatorOptions::initial_capacity = 0

Initial per-frame arena capacity in bytes.

Definition at line 22 of file frame_allocator.hpp.