public D3D12MA_Allocation *Allocate(D3D12MA_Allocator *allocator, ulong size, int wasZeroInitialized)
        {
            using var mutexLock = new D3D12MA_MutexLock(ref m_Mutex);

            var allocation = m_Allocator.Alloc();

            D3D12MA_Allocation._ctor(ref *allocation, allocator, size, wasZeroInitialized);

            return(allocation);
        }
 public void Free(ref D3D12MA_Allocation alloc)
 {
     Free((D3D12MA_Allocation *)Unsafe.AsPointer(ref alloc));
 }