> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_RANGE

> メモリの範囲を記述します。

メモリの範囲を記述します。

## 構文

```cpp theme={null}
typedef struct D3D12_RANGE
{
    SIZE_T Begin;
    SIZE_T End;
} D3D12_RANGE
```

### メンバー

*Begin*\
型: SIZE\_T

メモリ範囲の先頭を示すオフセット (バイト単位)。

*End*\
型: SIZE\_T

メモリ範囲の末尾を示すオフセット (バイト単位)。
**End** は 1 つ先の位置 (one-past-the-end) を指します。

## 解説

**End** は 1 つ先の位置 (one-past-the-end) を指します。
**Begin** が **End** と等しい場合、範囲は空です。
範囲のサイズは (**End** - **Begin**) です。

この構造体は [Map](/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_map_public) および [Unmap](/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_unmap_public) メソッドで使用されます。

## 要件

**ヘッダー:** d3d12\_xs.h または d3d12\_x.h\
**ライブラリ:** d3d12\_xs.lib または d3d12\_x.lib\
**サポートされるプラットフォーム**: XBOX Series 本体および XBOX One ファミリ

## 関連項目

[CD3DX12\_RANGE](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-range)

[コア構造体](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [Unmap](/ja-jp/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_unmap_public.md)
- [Map](/ja-jp/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_map_public.md)
- [D3D12_RANGE_UINT64](/ja-jp/reference/graphics/d3d12/structs/d3d12_range_uint64_public.md)
- [D3D12_SUBRESOURCE_RANGE_UINT64](/ja-jp/reference/graphics/d3d12/structs/d3d12_subresource_range_uint64_public.md)
- [D3D12_DESCRIPTOR_RANGE](/ja-jp/reference/graphics/d3d12/structs/d3d12_descriptor_range_public.md)
