MemoryManager::IsFailedAllocation

MemoryManager::IsFailedAllocation
virtual bool IsFailedAllocation(const VideoMemoryAllocation& allocation);
Description

IsFailedAllocation checks whether the memory allocation has failed or not. 

Derived classes could override this to provide specific logic for identifying a failed allocation. Generally, a nullptr return is sufficient.

Parameters
Parameters 
Description 
const VideoMemoryAllocation& allocation 
The allocation structure containing information on the allocation. 
Return Value