ResourceLib::GetImageHeap

ResourceLib::GetImageHeap
inline MemoryHeap* GetImageHeap() const;
Description

GetImageHeap obtains the heap that should be used for image allocation with this resource library. The resource library can maintain a dedicated heap for shared images if GFX_USE_IMAGE_HEAPS is defined. Storing images in a dedicated heap reduces the global heap fragmentation and the bookkeeping overhead for images.

Return Value

MemoryHeap heap object allocated for image allocations.