Castor3D 0.16.0
Multiplatform 3D engine
Static Public Member Functions | List of all members
castor::NonAlignedMemoryAllocator Class Reference

#include <NonAlignedMemoryAllocator.hpp>

Static Public Member Functions

static uint8_t * allocate (size_t size)
 Allocates memory.
 
static void deallocate (uint8_t *space) noexcept
 Frees the given memory.
 

Member Function Documentation

◆ allocate()

static uint8_t * castor::NonAlignedMemoryAllocator::allocate ( size_t size)
inlinestatic

Allocates memory.

Returns
The allocated space memory address.

◆ deallocate()

static void castor::NonAlignedMemoryAllocator::deallocate ( uint8_t * space)
inlinestaticnoexcept

Frees the given memory.

Parameters
[in]spaceThe memory to free.

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