ID3D12CommandQueue::ClearPageMappingsX Method

Clears page mappings: a shortcut equivalent to calling CopyPageMappingsX with a single page mapping range of D3D12XBOX_PAGE_MAPPING_RANGE_TYPE_NULL_PAGES range type.

Syntax

public:
HRESULT ClearPageMappingsX(
         D3D12_GPU_VIRTUAL_ADDRESS DestinationAddress,
         UINT PageCount,
         D3D12XBOX_PAGE_MAPPING_FLAGS Flags
)  

Parameters

DestinationAddress
Type: D3D12_GPU_VIRTUAL_ADDRESS 

[in] The destination address as a D3D12_GPU_VIRTUAL_ADDRESS (UINT64), and must be 64KB aligned.

PageCount
Type: UINT 

[in] The page count.

Flags
Type: D3D12XBOX_PAGE_MAPPING_FLAGS 

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

Return value

Type: HRESULT 

One of the Direct3D 12 return codes.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12CommandQueue Interface

ID3D12CommandQueue Members