Initializes the XGMemoryLayoutEngine with system page counts and ESRAM page counts.
public:
HRESULT InitializeWithPageCounts(
UINT32 SystemPageCount,
UINT32 EsramPageCount,
UINT32 EsramPageOffset
)
SystemPageCount
Type: UINT32
The number of system pages.
EsramPageCount
Type: UINT32
The number of ESRAM pages.
EsramPageOffset
Type: UINT32
The offset of the start of the ESRAM pages.
Type: HRESULT
S_OK, E_INVALIDARG, or E_OUTOFMEMORY, described in Direct3D 11 return codes.
Pages will be allocated by this method and freed when the memory layout engine is released.
Header: Declared in xgmemory.h.