ID3D12CommandQueue::CopyPageMappingsBatchX Method

Maps memory page ranges into the GPU virtual address space as one or more batches.

Syntax

public:
HRESULT D3DAPI CopyPageMappingsBatchX(
         UINT BatchCount,
         const D3D12XBOX_PAGE_MAPPING_BATCH *pBatches,
         D3D12_GPU_VIRTUAL_ADDRESS SourcePagePoolAddress,
         UINT SourcePagePoolPageCount,
         D3D12XBOX_PAGE_MAPPING_FLAGS Flags
)  

Parameters

BatchCount
Type: UINT 

[in] The number of batches to be mapped.

pBatches
Type: D3D12XBOX_PAGE_MAPPING_BATCH *

[in] A pointer to an array of D3D12XBOX_PAGE_MAPPING_BATCH structures that specify the batches to be mapped. The length of the array is specified by BatchCount.

SourcePagePoolAddress
Type: D3D12_GPU_VIRTUAL_ADDRESS 

[in] The base 64-bit GPU virtual address (UINT64) of the page pool from which page ranges will be mapped.

SourcePagePoolPageCount
Type: UINT 

[in] The number of pages in the source page pool.

Flags
Type: D3D12XBOX_PAGE_MAPPING_FLAGS 

[in] Flags that specify additional details about how pages are mapped.

Return value

Type: HRESULT D3DAPI 

One of the Direct3D 12 return codes.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.