PSYQO SDK
psyqo::BumpAllocator
Class template
Class template
A bump allocator for fragments.
Basic usage
This minimal snippet shows the normal syntax for reaching the type. Open a member below for an operation-specific example.
C++ example
#include "psyqo/bump-allocator.hh"
psyqo::BumpAllocator& value = /* obtain a valid instance from your game */;Public methods
allocatePerforms `allocate` as part of the bump allocator module.Function templateallocateFragmentPerforms `allocate fragment` as part of the bump allocator module.Function templateremainingPerforms `remaining` as part of the bump allocator module.MethodresetResets reset as part of the bump allocator module.MethodusedPerforms `used` as part of the bump allocator module.Method