Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialIRModule
Description
Allocates a chunk of memory using the module's internal memory block, to be used by the user as they see fit. Note: The returned array has the same lifetime as this module.
| Name | Allocate |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIRModule.h |
| Include Path | #include "Materials/MaterialIRModule.h" |
void * Allocate
(
size_t Size,
size_t Alignment
)