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

# GetRequiredParameterResourceSize

> 指定されたステージについて、メタ コマンドの指定されたランタイム パラメーター リソースに必要なメモリ量を取得します。

指定されたステージについて、メタ コマンドの指定されたランタイム パラメーター リソースに必要なメモリ量を取得します。

## 構文

```cpp theme={null}
UINT64 GetRequiredParameterResourceSize(
    D3D12_META_COMMAND_PARAMETER_STAGE Stage,
    UINT ParameterIndex
)
```

### パラメーター

*Stage \[in]*\
型: D3D12\_META\_COMMAND\_PARAMETER\_STAGE

パラメーターが属するステージを指定する **D3D12\_META\_COMMAND\_PARAMETER\_STAGE**。

*ParameterIndex \[in]*\
型: UINT

ステージ内のパラメーターの、ゼロベースのインデックス。

### 戻り値

型: UINT64

指定されたランタイム パラメーター リソースに必要なバイト数。

## 要件

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

## 関連項目

[ID3D12MetaCommand](https://docs.xbox.com/ja-jp/reference/graphics/d3d12/interfaces/id3d12metacommand/id3d12metacommand_public.md)


## Related topics

- [Get Policy](https://docs.xbox.com/api-reference/authentication/get-policy.md)
- [D3D12_META_COMMAND_PARAMETER_DESC](https://docs.xbox.com/ja-jp/reference/graphics/d3d12/structs/d3d12_meta_command_parameter_desc_public.md)
- [XAsyncGetResult](https://docs.xbox.com/ja-jp/reference/system/xasyncprovider/functions/xasyncgetresult.md)
- [Update Policy](https://docs.xbox.com/api-reference/authentication/update-policy.md)
- [ポリシーの更新](https://docs.xbox.com/ja-jp/services/playfab/api-references/rest/admin/authentication/update-policy.md)
