D3DGetDebugInfo function (d3dcompiler.h)
Note You can use this API to develop your Windows Store apps, but you can't use it in apps that you submit to the Windows Store.
Syntax
HRESULT D3DGetDebugInfo(
[in] LPCVOID pSrcData,
[in] SIZE_T SrcDataSize,
[out] ID3DBlob **ppDebugInfo
);
Parameters
[in] pSrcData
Type: LPCVOID
A pointer to source data; either uncompiled or compiled HLSL code.
[in] SrcDataSize
Type: SIZE_T
Length of pSrcData.
[out] ppDebugInfo
Type: ID3DBlob**
A pointer to a buffer that receives the ID3DBlob interface that contains debug information.
Return value
Type: HRESULT
Returns one of the Direct3D 11 return codes.
Remarks
Debug information is embedded in the body of the shader after calling D3DCompile.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3dcompiler.h |
Library | D3dcompiler_47.lib |
DLL | D3dcompiler_47.dll |