nw::demo::SimpleApp::Allocate Member Function

Syntax

static void * Allocate(
     size_t size,
     u8 alignment = 4
);

Arguments

Name Description
in size Size to be allocated.
in alignment The alignment of memory to be allocated.

Return Values

Returns the address of allocated memory.

Description

Allocates memory from main memory.


CONFIDENTIAL