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

Configuration for FixedPoolAllocator. More...

#include <fixed_pool_allocator.hpp>

Public Attributes

size_t block_size = 0
 Minimum payload size of each pool block in bytes.
size_t block_count = 0
 Number of blocks in the pool.
size_t alignment = kDefaultAlignment
 Alignment of each block in bytes; must be a power of two.

Detailed Description

Configuration for FixedPoolAllocator.

Definition at line 16 of file fixed_pool_allocator.hpp.

Member Data Documentation

◆ alignment

size_t helios::mem::FixedPoolAllocatorOptions::alignment = kDefaultAlignment

Alignment of each block in bytes; must be a power of two.

Definition at line 22 of file fixed_pool_allocator.hpp.

◆ block_count

size_t helios::mem::FixedPoolAllocatorOptions::block_count = 0

Number of blocks in the pool.

Definition at line 20 of file fixed_pool_allocator.hpp.

◆ block_size

size_t helios::mem::FixedPoolAllocatorOptions::block_size = 0

Minimum payload size of each pool block in bytes.

Definition at line 18 of file fixed_pool_allocator.hpp.