Gets shader debug information.
HRESULT D3DGetDebugInfo(
LPCVOID pSrcData,
SIZE_T SrcDataSize,
ID3DBlob **ppDebugInfo
)
pSrcData
Type: LPCVOID
[in] A pointer to source data; either uncompiled or compiled HLSL code.
SrcDataSize
Type: SIZE_T
[in] Length of pSrcData.
ppDebugInfo
Type: ID3DBlob **
[out] Optional. A pointer to an ID3DBlob that contains debug information.
Type: HRESULT
Returns one of the following Direct3D 10 Return Codes.
Debug information is embedded in the body of the shader after calling D3DCompile.
Header: Declared in d3dcompiler.h.
Library: Use d3d11.lib.