ID3D12FunctionReflection::GetVariableByName メソッド (d3d12shader.h)

名前で変数を取得します。

構文

ID3D12ShaderReflectionVariable * GetVariableByName(
  [in] LPCSTR Name
);

パラメーター

[in] Name

種類: LPCSTR

変数名を含む文字列へのポインター。

戻り値

種類: ID3D12ShaderReflectionVariable*

ID3D12ShaderReflectionVariable インターフェイスを返します。

要件

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

関連項目

ID3D12FunctionReflection