MovieDef::CreateMemoryContext

MovieDef::CreateMemoryContext
virtual MemoryContext* CreateMemoryContext(const char* heapName, const MemoryParams& memParams, bool debugHeap) = 0;
Description

CreateMemoryContext creates a memory context to be passed into CreateInstance for the common movie view heap.

Parameters
Parameters 
Description 
const char* heapName 
Name of the heap to be created. 
const MemoryParams& memParams 
Memory parameters describing heap and garbage collector behavior. 
bool debugHeap 
If true, the heap is created with MemoryHeap::Heap_UserDebug flag set for debug tool allocations, such as the player HUD. 
Return Value

The created MemoryContext for holding the heap data.