#include <donut/LinearAllocator.hpp>
◆ LinearMemoryResource() [1/2]
donut::LinearMemoryResource::LinearMemoryResource |
( |
| ) |
|
|
inlinenoexcept |
◆ LinearMemoryResource() [2/2]
donut::LinearMemoryResource::LinearMemoryResource |
( |
std::span< std::byte > |
initialMemory | ) |
|
|
inlineexplicitnoexcept |
◆ allocate()
void* donut::LinearMemoryResource::allocate |
( |
std::size_t |
size, |
|
|
std::size_t |
alignment |
|
) |
| |
|
inline |
◆ getRemainingCapacity()
std::size_t donut::LinearMemoryResource::getRemainingCapacity |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: