/// <summary>
 /// Initializes a new instance of the <see cref="LinearAllocator"/> class.
 /// </summary>
 /// <param name="type">The <see cref="ELinearAllocatorType"/></param>
 public LinearAllocator(ELinearAllocatorType type)
 {
     Debug.Assert(type > ELinearAllocatorType.InvalidAllocator && type < ELinearAllocatorType.NumAllocatorType);
     _Type          = type;
     _CurrentOffset = ~0;
     _PageSize      = _Type == ELinearAllocatorType.GpuExclusive ? (long)ELinearAllocatorPageSize.GpuAllocatorPageSize : (long)ELinearAllocatorPageSize.CpuAllocatorPageSize;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LinearAllocatorPageManager"/> class.
 /// </summary>
 public LinearAllocatorPageManager()
 {
     _AllocationType = _AutoType;
     _AutoType       = _AutoType + 1;
     Debug.Assert(_AutoType <= ELinearAllocatorType.NumAllocatorType);
 }