Maps pages using a simple arrangement of ESRAM pages followed by system memory pages.
public:
HRESULT MapSimple(
XGMemoryLayoutMapping *pMapping,
UINT32 PageCount,
UINT32 EsramPageCount
)
pMapping
Type: XGMemoryLayoutMapping *
[in, out] The updated mapping result, as a pointer to an XGMemoryLayoutMapping structure.
PageCount
Type: UINT32
The total number of pages, including system pages and ESRAM pages.
If PageCount is XG_ALL_REMAINING_PAGES, XGMemoryLayout::GetPageCountRemaining is substituted as the PageCount.
EsramPageCount
Type: UINT32
The number of ESRAM pages.
If EsramPageCount is XG_ALL_REMAINING_PAGES, XGMemoryLayout::GetFreeEsramPageCount is substituted as the EsramPageCount.
Type: HRESULT
S_OK, E_INVALIDARG, or E_OUTOFMEMORY, described in Direct3D 11 return codes.
This method maps pages using a simple arrangement of EsramPageCount ESRAM pages followed by (PageCount - EsramPageCount) system memory pages.
Header: Declared in xgmemory.h.