XGMemoryLayoutEngine::InitializeWithPageCounts Method

Initializes the XGMemoryLayoutEngine with system page counts and ESRAM page counts.

Syntax

public:
HRESULT InitializeWithPageCounts(
         UINT32 SystemPageCount,
         UINT32 EsramPageCount,
         UINT32 EsramPageOffset
)  

Parameters

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.

Return value

Type: HRESULT 

S_OK, E_INVALIDARG, or E_OUTOFMEMORY, described in Direct3D 11 return codes.

Remarks

Pages will be allocated by this method and freed when the memory layout engine is released.

Requirements

Header: Declared in xgmemory.h.

See also

XGMemoryLayoutEngine

XGMemoryLayoutEngine Members