共用方式為


ID3D11FunctionLinkingGraph::GetLastError 方法 (d3d11shader.h)

從 function-linking-graph 的最後一個函式呼叫中取得錯誤。

語法

HRESULT GetLastError(
  [out, optional] ID3DBlob **ppErrorBuffer
);

參數

[out, optional] ppErrorBuffer

類型: ID3DBlob**

可接收 ID3DBlob 介面指標的變數指標,可用來存取錯誤。

傳回值

類型: HRESULT

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

需求

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

另請參閱

ID3D11FunctionLinkingGraph