ID3D11FunctionLinkingGraph::GetLastError method (d3d11shader.h)
Gets the error from the last function call of the function-linking-graph.
Syntax
HRESULT GetLastError(
[out, optional] ID3DBlob **ppErrorBuffer
);
Parameters
[out, optional] ppErrorBuffer
Type: ID3DBlob**
An pointer to a variable that receives a pointer to the ID3DBlob interface that you can use to access the error.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11shader.h |
Library | D3DCompiler.lib |
DLL | D3DCompiler_47.dll |