Exemplo n.º 1
0
        public void Dispose()
        {
            for (nuint i = m_Blocks.size(); unchecked (i-- != 0);)
            {
                D3D12MA_DELETE(m_hAllocator->GetAllocs(), m_Blocks[i]->Value);
            }

            m_Blocks.Dispose();
        }
        public void Dispose()
        {
            D3D12MA_ASSERT((D3D12MA_DEBUG_LEVEL > 0) && (Base.lpVtbl[0] == (delegate * < ref D3D12MA_BlockMetadata_Generic, void >) & Dispose));

            Dispose(ref this);

            m_FreeSuballocationsBySize.Dispose();
            m_Suballocations.Dispose();
        }
 public void Dispose() => m_Data.Dispose();