ID3D11FunctionLinkingGraph::SetInputSignature 方法 (d3d11shader.h)

設定 function-linking-graph 的輸入簽章。

語法

HRESULT SetInputSignature(
  [in]  const D3D11_PARAMETER_DESC *pInputParameters,
  [in]  UINT                       cInputParameters,
  [out] ID3D11LinkingNode          **ppInputNode
);

參數

[in] pInputParameters

類型:const D3D11_PARAMETER_DESC*

輸入簽章參數 D3D11_PARAMETER_DESC結構的陣列

[in] cInputParameters

類型: UINT

pInputParameters陣列中的輸入參數數目。

[out] ppInputNode

類型: ID3D11LinkingNode**

可接收 ID3D11LinkingNode 介面指標的變數指標,表示 function-linking-graph 的輸入簽章。

傳回值

類型: HRESULT

如果成功,則傳回S_OK;否則,傳回其中一個 Direct3D 11 傳回碼

需求

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

另請參閱

ID3D11FunctionLinkingGraph