Method TryAllocate
TryAllocate(AllocationRequest, out IAllocatedMemory)
Tries to allocate memory according to the provided AllocationRequest.
bool TryAllocate(AllocationRequest request, out IAllocatedMemory allocated)
Parameters
request
AllocationRequest- The AllocationRequest specifying the requested properties of the allocation.
allocated
IAllocatedMemory- The IAllocatedMemory instance representing the allocation.