Memory
- 
class HPS::Memory
- The Memory class contains functions for allocating and freeing memory in the Visualize memory space. - Public Static Functions - 
static void *Allocate(size_t in_bytes, bool in_clear_memory = true)
- Allocates memory in the Visualize memory space and returns a pointer to the user. - Parameters
- in_bytes – The amount of memory requested. 
- in_clear_memory – If this flag is set, the memory will be nulled before being returned. 
 
- Returns
- A pointer to the allocated memory. 
 
 - 
static void Free(void *in_pointer)
- Frees memory that has previously been allocated in the Visualize memory space. Calling this function to free memory allocated in any another way has undefined behavior. - Parameters
- in_pointer – A pointer to memory previously allocated in the Visualize memory space. 
 
 
- 
static void *Allocate(size_t in_bytes, bool in_clear_memory = true)
