Minor fix: removed HEAP_TYPE_COUNT constant from the public interface

This commit is contained in:
Adam Sawicki 2022-02-24 16:04:58 +01:00
parent f3af1d9a30
commit 8f02da698d
2 changed files with 1 additions and 5 deletions

View File

@ -775,11 +775,6 @@ struct ALLOCATOR_DESC
IDXGIAdapter* pAdapter;
};
/**
\brief Number of D3D12 memory heap types supported.
*/
const UINT HEAP_TYPE_COUNT = 4;
/**
\brief Represents main object of this library initialized for particular `ID3D12Device`.

View File

@ -3330,6 +3330,7 @@ private:
////////////////////////////////////////////////////////////////////////////////
// Private class AllocatorPimpl definition
static constexpr UINT HEAP_TYPE_COUNT = 4;
static constexpr UINT STANDARD_HEAP_TYPE_COUNT = 3; // Only DEFAULT, UPLOAD, READBACK.
static constexpr UINT DEFAULT_POOL_MAX_COUNT = 9;