> ## 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_RESIDENCY_FLAGS

> EnqueuMakeResident 関数と共に使用し、メモリ バジェットを超過した場合の常駐処理の進め方を選択します。

EnqueuMakeResident 関数と共に使用し、メモリ バジェットを超過した場合の常駐処理の進め方を選択します。

## 構文

```cpp theme={null}
typedef enum D3D12_RESIDENCY_FLAGS
{
    D3D12_RESIDENCY_FLAG_NONE = 0,
    D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET = 1
} D3D12_RESIDENCY_FLAGS
```

## 定数

| 定数                                       | 説明                                                                                                                            |
| ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| D3D12\_RESIDENCY\_FLAG\_NONE             | 既定の常駐ポリシーを指定します。これは、アプリケーションの現在のメモリ バジェットに関係なく常駐処理を成功させることを許可します。EnqueueMakeResident は、使用可能なメモリがない場合にのみ E\_OUTOFMEMORY を返します。 |
| D3D12\_RESIDENCY\_FLAG\_DENY\_OVERBUDGET | 常駐処理がアプリケーションの現在のメモリ バジェットを超過する場合、EnqueueMakeResident 関数が E\_OUTOFMEMORY を返すように指定します。                                         |

## 解説

## 要件

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

## 関連項目

[コア列挙型](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-enumerations)


## Related topics

- [EnqueueMakeResident](/ja-jp/reference/graphics/d3d12/interfaces/id3d12device3/methods/id3d12device3_enqueuemakeresident_public.md)
- [D3D12_RESIDENCY_PRIORITY](/ja-jp/reference/graphics/d3d12/enums/d3d12_residency_priority_public.md)
- [D3D12_FENCE_FLAGS](/ja-jp/reference/graphics/d3d12/enums/d3d12_fence_flags_public.md)
- [D3D12_DSV_FLAGS](/ja-jp/reference/graphics/d3d12/enums/d3d12_dsv_flags_public.md)
- [D3D12_CLEAR_FLAGS](/ja-jp/reference/graphics/d3d12/enums/d3d12_clear_flags_public.md)
