ID3D10ShaderReflectionConstantBuffer::GetVariableByIndex メソッド (d3d10shader.h)

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

構文

ID3D10ShaderReflectionVariable * GetVariableByIndex(
  [in] UINT Index
);

パラメーター

[in] Index

型: UINT

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

戻り値

種類: ID3D10ShaderReflectionVariable*

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

必要条件

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

関連項目

ID3D10ShaderReflectionConstantBuffer インターフェイス