yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gfx::MemoryPool::MemoryBlock Struct Reference

#include <memory_pool.h>

Public Member Functions

 MemoryBlock (void *d, size_t s, size_t a=0)
 

Public Attributes

void * data
 
size_t size
 
bool in_use
 
size_t alignment
 

Detailed Description

Definition at line 80 of file memory_pool.h.

Constructor & Destructor Documentation

◆ MemoryBlock()

yaze::gfx::MemoryPool::MemoryBlock::MemoryBlock ( void *  d,
size_t  s,
size_t  a = 0 
)
inline

Definition at line 86 of file memory_pool.h.

Member Data Documentation

◆ data

void* yaze::gfx::MemoryPool::MemoryBlock::data

Definition at line 81 of file memory_pool.h.

Referenced by yaze::gfx::MemoryPool::Allocate().

◆ size

size_t yaze::gfx::MemoryPool::MemoryBlock::size

◆ in_use

bool yaze::gfx::MemoryPool::MemoryBlock::in_use

◆ alignment

size_t yaze::gfx::MemoryPool::MemoryBlock::alignment

Definition at line 84 of file memory_pool.h.


The documentation for this struct was generated from the following file: