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