PSYQO SDK
psyqo::BumpAllocator
Class template
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Class template
A bump allocator for fragments.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. 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