virtual bool IsFailedAllocation(const VideoMemoryAllocation& allocation);
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 |
Description |
const VideoMemoryAllocation& allocation |
The allocation structure containing information on the allocation. |