Interface IMemoryAllocator
A native memory allocator, capable of allocating memory within certain bounds.
public interface IMemoryAllocator
Properties
- MaxSize
- Gets the maximum size of allocation that this allocator is able to allocate.
Methods
- TryAllocate(AllocationRequest, out IAllocatedMemory)
- Tries to allocate memory according to the provided AllocationRequest.
- TryAllocateInRange(PositionedAllocationRequest, out IAllocatedMemory)
- Tries to allocate memory according to the provided PositionedAllocationRequest.