ID3D11FunctionReflection::GetDesc 方法 (d3d11shader.h)

填入函式的函式描述元結構。

語法

HRESULT GetDesc(
  [out] D3D11_FUNCTION_DESC *pDesc
);

參數

[out] pDesc

類型: D3D11_FUNCTION_DESC*

接收函式描述之 D3D11_FUNCTION_DESC 結構的指標。

傳回值

類型: HRESULT

傳回其中一個 Direct3D 11 傳回碼

需求

   
目標平台 Windows
標頭 d3d11shader.h
程式庫 D3DCompiler.lib
Dll D3DCompiler_47.dll

另請參閱

ID3D11FunctionReflection