Specifies the purpose of a page mapping range.
typedef enum D3D12XBOX_PAGE_MAPPING_RANGE_TYPE
{
D3D12XBOX_PAGE_MAPPING_RANGE_TYPE_INCREMENTING_PAGE_INDICES = 0,
D3D12XBOX_PAGE_MAPPING_RANGE_TYPE_CONSTANT_PAGE_INDEX = 1,
D3D12XBOX_PAGE_MAPPING_RANGE_TYPE_NULL_PAGES = 2,
D3D12XBOX_PAGE_MAPPING_RANGE_TYPE_SKIP_RANGE = 3
} D3D12XBOX_PAGE_MAPPING_RANGE_TYPE;
| Constant | Description |
|---|---|
| D3D12XBOX_PAGE_MAPPING_RANGE_TYPE_INCREMENTING_PAGE_INDICES | The source page indices are computed from the start page index and increment upwards. For example, if the StartPageIndexInPool is 5, and the PageCount is 3, then the source pages copied from the source page pool will be pages 5, 6, and 7. |
| D3D12XBOX_PAGE_MAPPING_RANGE_TYPE_CONSTANT_PAGE_INDEX | The source page indices are a repetition of the same page index, specified by the start page index. |
| D3D12XBOX_PAGE_MAPPING_RANGE_TYPE_NULL_PAGES | The destination page mappings in this range are set to null (invalid page mapping). No reference to the source page pool is made. |
| D3D12XBOX_PAGE_MAPPING_RANGE_TYPE_SKIP_RANGE | The CopyPageMappingsX skips this range when constructing the source to destination page mapping copies, and does not increment the copy destination. |
This enum is used by the D3D12XBOX_PAGE_MAPPING_RANGE structure.
Header: Declared in d3d12_x.h.