ID3D12ShaderReflectionConstantBuffer::GetVariableByIndex メソッド (d3d12shader.h)

インデックスによってシェーダーリフレクション変数を取得します。

構文

ID3D12ShaderReflectionVariable * GetVariableByIndex(
  [in] UINT Index
);

パラメーター

[in] Index

型: UINT

0 から始まるインデックス。

戻り値

種類: ID3D12ShaderReflectionVariable*

シェーダー リフレクション変数インターフェイスへのポインター ( ID3D12ShaderReflectionVariable インターフェイスを参照)。

解説

このメソッドのインターフェイスは、すぐに使用できない DLL D3DCompiler_xx.dll でホストされます。

要件

   
対象プラットフォーム Windows
ヘッダー d3d12shader.h

関連項目

ID3D12ShaderReflectionConstantBuffer